Skip to content

Commit 554524a

Browse files
authored
Update index.jsx
1 parent 2a1de93 commit 554524a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/containers/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import "./index.less";
1010
const { Header, Content, Footer } = Layout;
1111

1212
class App extends React.Component {
13-
componentWillMount() {
13+
componentDidMount() {
1414
if (!sessionStorage.getItem("access_token")) {
1515
window.location.hash = "login";
1616
} else {

0 commit comments

Comments
 (0)