kopia lustrzana https://github.com/cheeaun/phanpy
Fix route() actually not working
rodzic
e4de6d1d22
commit
d15b1fe03e
|
@ -280,7 +280,7 @@ function StatusPage({ id }) {
|
|||
}, [heroInView]);
|
||||
|
||||
useHotkeys(['esc', 'backspace'], () => {
|
||||
route(closeLink);
|
||||
location.hash = closeLink;
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Ładowanie…
Reference in New Issue