diff --git a/routes/_actions/addInstance.js b/routes/_actions/addInstance.js index 7af33791..baa08301 100644 --- a/routes/_actions/addInstance.js +++ b/routes/_actions/addInstance.js @@ -35,8 +35,10 @@ async function redirectToOauth () { } export async function logInToInstance () { - store.set({logInToInstanceLoading: true}) - store.set({logInToInstanceError: null}) + store.set({ + logInToInstanceLoading: true, + logInToInstanceError: null + }) try { await redirectToOauth() } catch (err) {