You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case anyone experiences the issue on page two of trying to capture a photo after first setting up the usePhotoGallery() hook and clicking the photo button for the first time. You may see the following in your console related to loading the pwa-camera-modal:
The way to resolve this issue is to go into your vite.config.ts and remove the section for the test and replace it with this:
In case anyone experiences the issue on page two of trying to capture a photo after first setting up the
usePhotoGallery()
hook and clicking the photo button for the first time. You may see the following in your console related to loading the pwa-camera-modal:The way to resolve this issue is to go into your
vite.config.ts
and remove the section for the test and replace it with this:Your config file should now look like this:
This is a known issue in vite: vitejs/vite#12434
You may need to delete your node_modules folder and install again.
The text was updated successfully, but these errors were encountered: