Enormous refactor adding IndexedDB space and syncing.

This commit is contained in:
Zef Hemel
2022-04-07 14:04:50 +02:00
parent eb781b9e19
commit fff2690e99
14 changed files with 168 additions and 110 deletions
+9
View File
@@ -33,6 +33,15 @@ export function TopBar({
<FontAwesomeIcon icon={faFileLines} />
</span>
<span className="current-page">{prettyName(pageName)}</span>
<button
onClick={(e) => {
// @ts-ignore
window.syncer();
e.stopPropagation();
}}
>
Sync
</button>
{notifications.length > 0 && (
<div className="status">
{notifications.map((notification) => (