Auto-prettification

This commit is contained in:
mqp 2022-08-28 21:15:31 +00:00 committed by github-actions[bot]
parent eb070f0b07
commit 3fd07da1b0

View File

@ -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)