mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 00:38:49 +01:00
Fix route() actually not working
This commit is contained in:
parent
e4de6d1d22
commit
d15b1fe03e
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ function StatusPage({ id }) {
|
|||
}, [heroInView]);
|
||||
|
||||
useHotkeys(['esc', 'backspace'], () => {
|
||||
route(closeLink);
|
||||
location.hash = closeLink;
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue