We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b45d882 + d46f754 commit ec53231Copy full SHA for ec53231
1 file changed
advanced/src/components/RootContainer.js
@@ -39,7 +39,7 @@ class RootContainer extends Component {
39
}
40
41
refreshTokenFn(data = {}) {
42
- const token = data.AUTH_TOKEN
+ const token = data[AUTH_TOKEN]
43
44
if (token) {
45
localStorage.setItem(AUTH_TOKEN, token)
@@ -48,7 +48,7 @@ class RootContainer extends Component {
48
49
50
this.setState({
51
- token: data.AUTH_TOKEN,
+ token: data[AUTH_TOKEN],
52
})
53
54
0 commit comments