about summary refs log tree commit diff
path: root/src/view/com/auth/create/Step1.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/auth/create/Step1.tsx')
-rw-r--r--src/view/com/auth/create/Step1.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/auth/create/Step1.tsx b/src/view/com/auth/create/Step1.tsx
index ac0d706d7..57747f070 100644
--- a/src/view/com/auth/create/Step1.tsx
+++ b/src/view/com/auth/create/Step1.tsx
@@ -32,7 +32,7 @@ export const Step1 = observer(({model}: {model: CreateAccountModel}) => {
     model.setServiceDescription(undefined)
   }, [setIsDefaultSelected, model])
 
-  const fetchServiceDesription = React.useMemo(
+  const fetchServiceDescription = React.useMemo(
     () => debounce(() => model.fetchServiceDescription(), 1e3),
     [model],
   )
@@ -40,9 +40,9 @@ export const Step1 = observer(({model}: {model: CreateAccountModel}) => {
   const onChangeServiceUrl = React.useCallback(
     (v: string) => {
       model.setServiceUrl(v)
-      fetchServiceDesription()
+      fetchServiceDescription()
     },
-    [model, fetchServiceDesription],
+    [model, fetchServiceDescription],
   )
 
   const onDebugChangeServiceUrl = React.useCallback(