Fix route() actually not working

This commit is contained in:
Lim Chee Aun 2023-01-03 00:48:36 +08:00
parent e4de6d1d22
commit d15b1fe03e

View file

@ -280,7 +280,7 @@ function StatusPage({ id }) {
}, [heroInView]); }, [heroInView]);
useHotkeys(['esc', 'backspace'], () => { useHotkeys(['esc', 'backspace'], () => {
route(closeLink); location.hash = closeLink;
}); });
return ( return (