Skip to content

Commit

Permalink
Remove arrow syntax from examples on pages docs
Browse files Browse the repository at this point in the history
  • Loading branch information
francisudeji committed Sep 3, 2020
1 parent 15cd608 commit d514733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/docs/configuration/pages.md
Expand Up @@ -58,7 +58,7 @@ If you create a custom sign in form for email sign in, you will need to submit b
import React from 'react'
import { csrfToken } from 'next-auth/client'

export default function SignIn({ csrfToken }) => {
export default function SignIn({ csrfToken }) {
return (
<form method='post' action='/api/auth/signin/email'>
<input name='csrfToken' type='hidden' defaultValue={csrfToken}/>
Expand Down Expand Up @@ -92,7 +92,7 @@ If you create a sign in form for credentials based authentication, you will need
import React from 'react'
import { csrfToken } from 'next-auth/client'

export default function SignIn({ csrfToken }) => {
export default function SignIn({ csrfToken }) {
return (
<form method='post' action='/api/auth/callback/credentials'>
<input name='csrfToken' type='hidden' defaultValue={csrfToken}/>
Expand Down

1 comment on commit d514733

@vercel
Copy link

@vercel vercel bot commented on d514733 Sep 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.