Skip to content

Commit 3fd7031

Browse files
fix signout
1 parent 83455be commit 3fd7031

File tree

1 file changed

+1
-2
lines changed
  • demos/django-react-native-todolist/app/views

1 file changed

+1
-2
lines changed

demos/django-react-native-todolist/app/views/signout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import { router } from 'expo-router';
55
import { useSystem } from '../../library/stores/system';
66

77
export default function Signout() {
8-
const { powersync, supabaseConnector } = useSystem();
8+
const { powersync } = useSystem();
99

1010
React.useEffect(() => {
1111
(async () => {
1212
await powersync.disconnectAndClear();
13-
await supabaseConnector.supabaseClient.auth.signOut();
1413
router.replace('signin');
1514
})();
1615
}, []);

0 commit comments

Comments
 (0)