feat: add changelog modal

This commit is contained in:
Paul Makles
2022-06-12 22:19:41 +01:00
parent 5eabd2861f
commit cd8ab6739b
11 changed files with 239 additions and 4 deletions

View File

@@ -18,7 +18,10 @@ export default function SyncManager() {
// Sync settings from Revolt.
useEffect(() => {
if (client) {
state.sync.pull(client);
state.sync
.pull(client)
.catch(console.error)
.finally(() => state.changelog.checkForUpdates());
}
}, [client]);