This commit is contained in:
Nolan Lawson 2018-02-14 18:15:14 -08:00
parent d45e8da5c4
commit 9fc39c5322
1 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,10 @@ async function redirectToOauth () {
} }
export async function logInToInstance () { export async function logInToInstance () {
store.set({logInToInstanceLoading: true}) store.set({
store.set({logInToInstanceError: null}) logInToInstanceLoading: true,
logInToInstanceError: null
})
try { try {
await redirectToOauth() await redirectToOauth()
} catch (err) { } catch (err) {