Auto-prettification
This commit is contained in:
parent
eb070f0b07
commit
3fd07da1b0
|
@ -4,14 +4,13 @@ import { useRouter } from 'next/router'
|
||||||
import { firebaseLogin } from 'web/lib/firebase/users'
|
import { firebaseLogin } from 'web/lib/firebase/users'
|
||||||
import { Button } from './button'
|
import { Button } from './button'
|
||||||
|
|
||||||
export const SignInButton = (props: {
|
export const SignInButton = (props: {}) => {
|
||||||
}) => {
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
size='lg'
|
size="lg"
|
||||||
color='gray'
|
color="gray"
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
// login, and then reload the page, to hit any SSR redirect (e.g.
|
// login, and then reload the page, to hit any SSR redirect (e.g.
|
||||||
// redirecting from / to /home for logged in users)
|
// redirecting from / to /home for logged in users)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user