We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the "personal-data" example, the custom UploaderContext is used to get the upload CDN URL. https://github.com/reimagined/resolve/blob/dev/examples/ts/personal-data/client/components/ImageUpload.tsx#L55
But I figured out that the CDN URL is also available in ResolveContext:
import { ResolveContext } from '@resolve-js/react-hooks' const { cdnUrl: CDNUrl } = useContext(ResolveContext)
Please, add the useCDNUrl hook to get cdnUrl directly from the ResolveContext.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the "personal-data" example, the custom UploaderContext is used to get the upload CDN URL.
https://github.com/reimagined/resolve/blob/dev/examples/ts/personal-data/client/components/ImageUpload.tsx#L55
But I figured out that the CDN URL is also available in ResolveContext:
Please, add the useCDNUrl hook to get cdnUrl directly from the ResolveContext.
The text was updated successfully, but these errors were encountered: