Skip to content

Commit

Permalink
Merge pull request sadmann7#112 from Kinfe123/redirect-fix
Browse files Browse the repository at this point in the history
fix: redirect fix from tabs
  • Loading branch information
sadmann7 authored Jan 14, 2024
2 parents a28d0f8 + 47f1c71 commit 1dbd437
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/pagers/store-tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client"

import Link from "next/link"
import { useRouter, useSelectedLayoutSegment } from "next/navigation"
import { Tabs, TabsList, TabsTrigger } from "@radix-ui/react-tabs"

Expand Down Expand Up @@ -65,7 +66,7 @@ export function StoreTabs({ storeId }: StoreTabsProps) {
tab.isActive && "text-foreground"
)}
>
{tab.title}
<Link href={tab.href}>{tab.title}</Link>
</TabsTrigger>
</div>
))}
Expand Down

0 comments on commit 1dbd437

Please sign in to comment.