mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Add redirect for GameView
This commit is contained in:
parent
9e4e101495
commit
2a909c1f19
3 changed files with 7 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ export const useHashLocation = () => {
|
|||
const handler = () => setLoc(currentLoc())
|
||||
|
||||
window.addEventListener('hashchange', handler)
|
||||
handler()
|
||||
return () => window.removeEventListener('hashchange', handler)
|
||||
}, [])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue