mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-09-14 17:42:17 +00:00
fix: harden review findings and Netlify install
This commit is contained in:
@@ -122,6 +122,7 @@ export function startOfflineSync(getUserId: () => string | null): () => void {
|
||||
)
|
||||
)
|
||||
);
|
||||
if (getUserId() !== userId) throw new Error('Session changed during offline synchronization');
|
||||
const result = await workerMessage({
|
||||
type: 'SYNC_OFFLINE_SNAPSHOT',
|
||||
snapshot,
|
||||
|
||||
Reference in New Issue
Block a user