Async logout for debug

This commit is contained in:
Arnab Chakraborty 2024-06-13 21:15:28 +05:30
parent 863306000e
commit ad555f05ad

View file

@ -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>