/** Overflow navigation for non-tab destinations. */ import { useState } from "preact/hooks"; import { logout } from "../api"; import { navigate } from "../router"; import { Pressable } from "./Pressable"; import { Sheet } from "./Sheet"; export function MoreMenu() { const [open, setOpen] = useState(false); const go = (path: string) => { setOpen(false); navigate(path); }; return ( <> setOpen(true)}>••• setOpen(false)}> ); }