Mark the logout menu item as destructive
This commit is contained in:
@@ -199,6 +199,7 @@ export function TopBar() {
|
||||
<DropdownMenuSeparator />
|
||||
|
||||
<DropdownMenuItem
|
||||
variant="destructive"
|
||||
onClick={() => {
|
||||
const endSessionEndpoint = useAuthStore.getState().endSessionEndpoint;
|
||||
logout();
|
||||
|
||||
Reference in New Issue
Block a user