chore: clean up code

This commit is contained in:
Paul Makles 2022-01-02 15:46:51 +00:00
parent 1b6275d1b5
commit 1d4eed872b
2 changed files with 0 additions and 2 deletions

View file

@ -123,7 +123,6 @@ export default class State {
() => stringify(store.toJSON()), () => stringify(store.toJSON()),
async (value) => { async (value) => {
try { try {
console.log(`I am saving ${id} as ${value}`);
await localforage.setItem(id, JSON.parse(value)); await localforage.setItem(id, JSON.parse(value));
if (id === "sync") return; if (id === "sync") return;
if (!client) return; if (!client) return;

View file

@ -85,7 +85,6 @@ export default class Auth implements Store, Persistent<Data> {
@action setSession(session: Session) { @action setSession(session: Session) {
this.sessions.set(session.user_id, { session }); this.sessions.set(session.user_id, { session });
this.current = session.user_id; this.current = session.user_id;
console.log(this.sessions, this.current);
} }
/** /**