mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 09:53:30 +00:00
Async logout for debug
This commit is contained in:
parent
863306000e
commit
ad555f05ad
|
@ -65,8 +65,8 @@ const DebugScreen = ({ navigation }: SettingsStackScreenProps<'Debug'>) => {
|
|||
<Text style={tw`text-ink`}>Go to Backfill Waiting Page</Text>
|
||||
</Button>
|
||||
<Button
|
||||
onPress={() => {
|
||||
auth.logout();
|
||||
onPress={async () => {
|
||||
await auth.logout();
|
||||
}}
|
||||
>
|
||||
<Text style={tw`text-ink`}>Logout</Text>
|
||||
|
|
Loading…
Reference in a new issue