import { useUpdate } from '../stores/updateStore'; /** Offers to load a new app version instead of reloading under the reader. */ export function UpdateToast() { const apply = useUpdate((s) => s.apply); const dismiss = useUpdate((s) => s.dismiss); if (!apply) return null; return (