Skip to content

Commit 4eda0ed

Browse files
youtionmfikria
authored andcommitted
fix: issue #110
1 parent d0eb4dc commit 4eda0ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routers/challenge-list/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const App = () => {
3636
return;
3737
}
3838

39-
const params = utils.url.parseUrlQuery(location.search);
39+
let search = location.href.split('?').length ? '?' + location.href.split('?')[1]: ''
40+
const params = utils.url.parseUrlQuery(search);
4041
const toUpdate = utils.challenge.createChallengeFilter(params);
4142

4243
if (!toUpdate.types) toUpdate.types = [];

0 commit comments

Comments
 (0)