diff --git a/frontend/src/components/overlays/CreateAccount.svelte b/frontend/src/components/overlays/CreateAccount.svelte index 0dd7e65..c902a83 100644 --- a/frontend/src/components/overlays/CreateAccount.svelte +++ b/frontend/src/components/overlays/CreateAccount.svelte @@ -40,6 +40,12 @@ import { maybeFly } from "../../animations"; overlayStore.open("login", {}); } }; + const onKeydown = async (e) => { + if (e.code !== "Enter") + return; + + await create(); + }; -