summaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/components/fields/NumberInput.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/anastasis-webui/src/components/fields/NumberInput.tsx')
-rw-r--r--packages/anastasis-webui/src/components/fields/NumberInput.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/anastasis-webui/src/components/fields/NumberInput.tsx b/packages/anastasis-webui/src/components/fields/NumberInput.tsx
index 4856131c7..160f1b7b6 100644
--- a/packages/anastasis-webui/src/components/fields/NumberInput.tsx
+++ b/packages/anastasis-webui/src/components/fields/NumberInput.tsx
@@ -38,8 +38,8 @@ export function PhoneNumberInput(props: TextInputProps): VNode {
placeholder={props.placeholder}
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) => {