Skip to content

Commit 7d24ece

Browse files
committed
fix: Ensure back button will back to home
1 parent 0620242 commit 7d24ece

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/FE/pages/settings/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ const SettingsPage = () => {
4848
<h1 className="text-2xl font-bold mb-6 flex items-center gap-2">
4949
<Link
5050
href="/"
51-
onClick={(e) => {
52-
e.preventDefault();
53-
router.back();
54-
}}
5551
className="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-accent hover:text-accent-foreground h-10 w-10"
5652
>
5753
<IconArrowDown className="rotate-90" size={20} />

0 commit comments

Comments
 (0)