Figure out when to sync contracts #2653
Labels
App:Frontend
Kind:Bug
Kind:Core
Anything that changes or affects the fundamental core data structures & design of the application.
Problem
In
setupChelonia.js
this code was commented out:It's since been uncommented and @corrideat says he doesn't like it there because:
I asked in a followup why in (1) @corrideat said "and for building an offline PWA." His reply:
So we should look into detecting whether or not we're online before doing that sync, and then if we aren't, doing it once we come back online.
Solution
It needs to be uncommented but also rewritten to take into account the changes coming in with user state snapshots and the offline cache stuff.
The text was updated successfully, but these errors were encountered: