#✅ - Problem finding AUTH in @aws-amplify/auth
5 messages · Page 1 of 1 (latest)
Hey @dawn iron. What tutorial are you following? For v6 you have to import the method itself. See https://docs.amplify.aws/gen1/react/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
oh. You opened my eye.
Thanks, i will try out now and feedback here as soon as possible
I found the resolution for this
Gen 5 : import { auth } from 'aws-amplify';
Gen 6 : import { generateClient } from 'aws-amplify/api';
I have solved it with your suggestion. Thank you very much
✅ - Problem finding AUTH in @aws-amplify/auth