()
| 43 | ); |
| 44 | |
| 45 | const handleSignOut = async () => { |
| 46 | const supabase = createClient(); |
| 47 | const { error } = await supabase.auth.signOut(); |
| 48 | if (error) clientLogger.error('Sign out error', { error }); |
| 49 | router.push("/login"); |
| 50 | router.refresh(); |
| 51 | }; |
| 52 | |
| 53 | useEffect(() => { |
| 54 | const down = (e: KeyboardEvent) => { |
no test coverage detected