import * as Dialog from '@radix-ui/react-dialog'; import { useQueryClient } from '@tanstack/react-query'; import { CancelIcon, LogoutIcon } from '@shared/icons'; export function Logout() { const queryClient = useQueryClient(); const logout = async () => { // reset database // await removeAll(); // reset react query queryClient.clear(); }; return (
Are you sure!

When logout, all local data will be wiped, and restart app then you need to start onboarding process again when you log in.

In the next version, Lume will support multi account, then you can switch between all account s instead of logout

); }