This commit is contained in:
Nolan Lawson 2018-02-14 18:15:14 -08:00
parent d45e8da5c4
commit 9fc39c5322

View file

@ -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) {