Skip to content

Commit e7dd186

Browse files
committed
Fix View all analytics link in contract overview page (#4987)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the URL structure in the `Analytics.tsx` component to ensure the correct routing format for the analytics link. ### Detailed summary - Changed the `href` attribute of the `Link` component from `${chainSlug}/${contractAddress}/analytics` to `/${chainSlug}/${contractAddress}/analytics` to include a leading slash. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent ba9a7d4 commit e7dd186

File tree

1 file changed

+1
-1
lines changed
  • apps/dashboard/src/contract-ui/tabs/overview/components

1 file changed

+1
-1
lines changed

apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const AnalyticsOverview: React.FC<AnalyticsOverviewProps> = ({
5050
});
5151
}}
5252
>
53-
<Link href={`${chainSlug}/${contractAddress}/analytics`}>
53+
<Link href={`/${chainSlug}/${contractAddress}/analytics`}>
5454
<span>View All</span>
5555
<ArrowRightIcon className="size-4" />
5656
</Link>

0 commit comments

Comments
 (0)