diff --git a/src/app/App.tsx b/src/app/App.tsx index 4c805e2..8f9c291 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -35,7 +35,7 @@ type AppId = export default function App() { const [currentPage, setCurrentPage] = useState('status'); - const { config, setConfig, saveStatus, reload } = useSettings(); + const { config, setConfig, saveStatus, pendingCount, flushNow, reload } = useSettings(); const [showSearch, setShowSearch] = useState(false); const [showProfileMenu, setShowProfileMenu] = useState(false); @@ -168,7 +168,7 @@ function AppPage({ title, onBack }: { title: string; onBack: () => void }) { > - +
+ + ); + } + if (status === 'saving') { return ( - + Saving ); } + if (status === 'saved') { return ( - + Saved ); } + // error return (