diff options
Diffstat (limited to 'packages/anastasis-webui/src/components/fields/EmailInput.tsx')
-rw-r--r-- | packages/anastasis-webui/src/components/fields/EmailInput.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/anastasis-webui/src/components/fields/EmailInput.tsx b/packages/anastasis-webui/src/components/fields/EmailInput.tsx index 4c35c0686..55c99c024 100644 --- a/packages/anastasis-webui/src/components/fields/EmailInput.tsx +++ b/packages/anastasis-webui/src/components/fields/EmailInput.tsx @@ -39,8 +39,8 @@ export function EmailInput(props: TextInputProps): VNode { type="email" class={showError ? "input is-danger" : "input"} onKeyPress={(e) => { - if (e.key === 'Enter' && props.onConfirm) { - props.onConfirm() + if (e.key === "Enter" && props.onConfirm) { + props.onConfirm(); } }} onInput={(e) => { |