[feat] change back button
This commit is contained in:
parent
81210ab77f
commit
5a87f0c3e9
6 changed files with 29 additions and 10 deletions
|
|
@ -89,7 +89,7 @@ export default function Page() {
|
|||
window.scrollTo(0, 0);
|
||||
}, []);
|
||||
const handleBack = () => {
|
||||
window.history.back();
|
||||
window.location.href = "/";
|
||||
};
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue