Skip to content

Commit

Permalink
Fix for lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
LizKalter committed Dec 20, 2020
1 parent 6078250 commit 86e6a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/stores/ParticipantStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,16 +217,16 @@ export class ParticipantStore {
}
this.setParticipant(data)
// for redirect in exiting participant V
this.rootStore.UtilityStore.setLoadingState(false)
return ok
} catch (error) {
const snackbarError = handleSnackbarError(error.message)
this.rootStore.UtilityStore.setSnackbarState(snackbarError.message, {
severity: snackbarError.severity,
})

this.rootStore.UtilityStore.setLoadingState(false)
return false
}
this.rootStore.UtilityStore.setLoadingState(false)
})
// called on => ParticipantList.js
getParticipants = flow(function*(params) {
Expand Down

0 comments on commit 86e6a3e

Please sign in to comment.