No need to produce a warning here
This commit is contained in:
parent
f925c8a380
commit
776f5b0e8c
@ -20,7 +20,6 @@ OHIF.user.getAccessToken = () => {
|
|||||||
// TODO: Get the Redux store from somewhere else
|
// TODO: Get the Redux store from somewhere else
|
||||||
const state = window.store.getState()
|
const state = window.store.getState()
|
||||||
if (!state.oidc || !state.oidc.user) {
|
if (!state.oidc || !state.oidc.user) {
|
||||||
console.warn('failed to grab access token')
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user