about summary refs log tree commit diff
path: root/src/screens/Signup.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/Signup.tsx')
-rw-r--r--src/screens/Signup.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/screens/Signup.tsx b/src/screens/Signup.tsx
index 1d5915d65..e09ab5dd6 100644
--- a/src/screens/Signup.tsx
+++ b/src/screens/Signup.tsx
@@ -13,13 +13,11 @@ export const Signup = observer(
         <View style={{justifyContent: 'center', alignItems: 'center'}}>
           <Text style={{fontSize: 20, fontWeight: 'bold'}}>Create Account</Text>
           {store.session.uiError ?? <Text>{store.session.uiError}</Text>}
-          {store.session.uiState === 'idle' ? (
+          {!store.session.uiIsProcessing ? (
             <>
               <Button
                 title="Create new account"
-                onPress={() =>
-                  store.session.createTestAccount('http://localhost:1986')
-                }
+                onPress={() => store.session.login()}
               />
               <Button
                 title="Log in to an existing account"