diff --git a/components/Auth.tsx b/components/Auth.tsx index 1d4dfbb..ea226b5 100644 --- a/components/Auth.tsx +++ b/components/Auth.tsx @@ -33,6 +33,11 @@ const Auth: FunctionComponent<{ redirect: string }> = ({ redirect }) => { onChange={e => { setToken(e.target.value) }} + onKeyPress={e => { + if (e.key === 'Enter' || e.key === 'NumpadEnter') { + router.reload() + } + }} />