Closed li-boxuan closed 5 years ago
To see why this is a problem, go to https://coala-gh-board.netlify.com. If you click on the dashboard icon (on top left), it would work. However, if you right click and open it in another page, it would go to https://coala-gh-board.netlify.com
without the hashtag and the page would not be correctly loaded.
Please assign this issue to me. Submitted at PR #164
https://github.com/coala/gh-board/commit/32337460bfb1ee16bbdf6672dd3a6fe108a66ac4 was trying to fix the
dashboard
navigation problem, but the fix was not perfect.We should not use
browserHistory
at https://github.com/coala/gh-board/blob/32337460bfb1ee16bbdf6672dd3a6fe108a66ac4/src/router.jsx#L30 buthistory
instead, which has been defined at https://github.com/coala/gh-board/blob/f08f19b70cd233a889c9df7c507e0532686020a0/src/router.jsx#L5c.f. https://github.com/coala/gh-board/pull/162#discussion_r220439270