Fix route() actually not working
This commit is contained in:
parent
e4de6d1d22
commit
d15b1fe03e
|
@ -280,7 +280,7 @@ function StatusPage({ id }) {
|
|||
}, [heroInView]);
|
||||
|
||||
useHotkeys(['esc', 'backspace'], () => {
|
||||
route(closeLink);
|
||||
location.hash = closeLink;
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue