From 72d88d243dfc0b309604b52b72476b1dffeab2c3 Mon Sep 17 00:00:00 2001 From: Tronica Date: Sun, 26 Jan 2025 12:33:30 +0100 Subject: [PATCH] fix spelling index.tsx --- .../Basenames/UsernameTextRecordInlineField/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/Basenames/UsernameTextRecordInlineField/index.tsx b/apps/web/src/components/Basenames/UsernameTextRecordInlineField/index.tsx index 5cbccd9703..122cd62393 100644 --- a/apps/web/src/components/Basenames/UsernameTextRecordInlineField/index.tsx +++ b/apps/web/src/components/Basenames/UsernameTextRecordInlineField/index.tsx @@ -66,15 +66,15 @@ export default function UsernameTextRecordInlineField({ disabled = false, }: UsernameTextRecordInlineFieldProps) { const usernameSocialHandleFieldId = useId(); - const [validationError, setValiationHint] = useState(''); + const [validationError, setValidationHint] = useState(''); const onTextRecordChange = useCallback( (event: ChangeEvent) => { const textRecordValue = event.target.value; if (!validateTextRecordValue(textRecordKey, textRecordValue)) { - setValiationHint(textRecordHintForDisplay(textRecordKey)); + setValidationHint(textRecordHintForDisplay(textRecordKey)); } else { - setValiationHint(''); + setValidationHint(''); } if (onChange) onChange(textRecordKey, textRecordValue);