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

Updates example code for Next.js in docs #857

Merged

Commits on Sep 17, 2024

  1. Updates example code for Next.js in docs

    This is a bit picky, but when I copied the example page.tsx from https://firebase.google.com/docs/genkit/nextjs I found I had some linter errors in my editor.
    
    I have updated the example code to:
    * more closely match React style (varName and setVarName for useState)
    * reflect good practices in forms (using htmlFor for labels)
    
    I also added some spacing to the button, to make it easier to see.
    philnash committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    2c40c6a View commit details
    Browse the repository at this point in the history