From 1d4eed872b2073be149df1eb6d04a6e3c2b69e92 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 2 Jan 2022 15:46:51 +0000 Subject: [PATCH] chore: clean up code --- src/mobx/State.ts | 1 - src/mobx/stores/Auth.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/mobx/State.ts b/src/mobx/State.ts index 55e1b59d..94f2315f 100644 --- a/src/mobx/State.ts +++ b/src/mobx/State.ts @@ -123,7 +123,6 @@ export default class State { () => stringify(store.toJSON()), async (value) => { try { - console.log(`I am saving ${id} as ${value}`); await localforage.setItem(id, JSON.parse(value)); if (id === "sync") return; if (!client) return; diff --git a/src/mobx/stores/Auth.ts b/src/mobx/stores/Auth.ts index 973c262d..baee76b8 100644 --- a/src/mobx/stores/Auth.ts +++ b/src/mobx/stores/Auth.ts @@ -85,7 +85,6 @@ export default class Auth implements Store, Persistent { @action setSession(session: Session) { this.sessions.set(session.user_id, { session }); this.current = session.user_id; - console.log(this.sessions, this.current); } /**