Skip to content
New issue

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

Bug: NextJS Amplify Starter Tutorial breaks when implementing login UI #8219

Open
el-zoltan opened this issue Jan 26, 2025 · 0 comments
Open

Comments

@el-zoltan
Copy link

Describe the bug
6. Implement login UI

The above step seems to be breaking now.

To Reproduce
Steps to reproduce the behavior:

  1. When implementing the login UI
  2. error: 'useForm' is not exported from 'react-hook-form' (imported as 'useForm')

Expected behavior
I expect to be able to follow along with a tutorial without it breaking.

Screenshots
Image

Desktop (please complete the following information):

  • OS: Mac
  • Browser: Arc
  • Version: 1.78.1

Smartphone (please complete the following information):

  • N/A

Additional context
One option for a simple fix is to "use client" and not export metadata from layout.tsx: react-hook-form/react-hook-form#11284

However, I feel like that is getting away from part of why people might be interested in using NextJS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant