Closed happy-cutman closed 1 year ago
Conditions:
public/connectButton.riv
The error occurs on a deployed application. sees the file, but does not seem to recognize it
The same file on local build
const WalletAnimation = () => { const { rive, RiveComponent } = useRive({ src: 'connectButton.riv', autoplay: true }); return ( <Wrapper> <RiveComponent/> </Wrapper> ); }; export default WalletAnimation;
@happy-cutman You may need to specify the mimetype in Amplify for .riv (application/octet-stream)
Thank you so much man! I will close this issue
Conditions:
public/connectButton.riv
The error occurs on a deployed application. sees the file, but does not seem to recognize it
The same file on local build