Getting this when refreshing the page:
Error loading collections MinimongoError: Duplicate _id '9xGzRJM4TyBgRBaEx'
at MinimongoError (common.js:1085:17)
at LocalCollection.prepareInsert (local_collection.js:119:13)
at LocalCollection.insert (local_collection.js:132:21)
at loadAndObserve (load.js:23:23)
at async Promise.all (index 51)
at async load (load.js:64:5)
I have a context for the entire app which subscribes to the current user profiles collection which this is referring to (based on the ID).
I'm guessing that this data is there from previous session, so instead of insert, it should merge/update the data.
Getting this when refreshing the page:
I have a context for the entire app which subscribes to the current user profiles collection which this is referring to (based on the ID).
I'm guessing that this data is there from previous session, so instead of insert, it should merge/update the data.