import { supabase } from '@/lib/supabase'; import { ThemedView, ThemedText, ThemedTextButton, ThemedTextInput } from '@/components/theme'; import { Alert, StyleSheet, AppState } from 'react-native'; const Logout_Button = () => { const signOut = async () => { const { error } = await supabase.auth.signOut(); if (error) Alert.alert(error.message); }; return ( signOut()} /> ); }; export default Logout_Button; const styles = StyleSheet.create({});