Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.

Commit acc99ae

Browse files
committed
fix bug
1 parent fd69e18 commit acc99ae

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/Router/index.jsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,9 @@ export default () => (
4040
);
4141

4242
const checkStatus = (nextState, replace, next) => {
43-
var inviteCode = localStorage.getItem('__inviteCode') || null;
44-
if(inviteCode) {
43+
4544
next()
46-
}else {
47-
replace('/invite?code=testcode');
48-
next()
49-
}
45+
5046
}
5147

5248
const checkFetchStatus = (nextState, replace, next) => {

0 commit comments

Comments
 (0)