[feat] change back button

This commit is contained in:
Alvalen 2023-09-06 16:39:25 +07:00
parent 81210ab77f
commit 5a87f0c3e9
6 changed files with 29 additions and 10 deletions

View file

@ -89,7 +89,7 @@ export default function Page() {
window.scrollTo(0, 0);
}, []);
const handleBack = () => {
window.history.back();
window.location.href = "/";
};
return (
<>