From e7dd1864f98d52e31fcd59a353e5106d8ca8b27d Mon Sep 17 00:00:00 2001 From: MananTank Date: Thu, 10 Oct 2024 16:19:02 +0000 Subject: [PATCH] Fix View all analytics link in contract overview page (#4987) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added --- ## 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}` --- .../src/contract-ui/tabs/overview/components/Analytics.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx b/apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx index 0fa83ae9220..270194a4774 100644 --- a/apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx +++ b/apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx @@ -50,7 +50,7 @@ export const AnalyticsOverview: React.FC = ({ }); }} > - + View All