From 71446ad9795a6895dd369968ea6c4f446ec21a7a Mon Sep 17 00:00:00 2001 From: jejolare Date: Sun, 15 Dec 2024 00:37:47 +0700 Subject: [PATCH] add price links --- src/pages/assets/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/assets/index.tsx b/src/pages/assets/index.tsx index f256c3b..994b388 100644 --- a/src/pages/assets/index.tsx +++ b/src/pages/assets/index.tsx @@ -17,6 +17,7 @@ import { GetServerSideProps } from "next"; import { AssetsPageProps, getAssets } from "@/utils/ssr"; import Utils from "@/utils/utils"; import { ZANO_ID } from "@/utils/constants"; +import Link from "next/link"; export const DEFAULT_ASSETS_ON_PAGE = "20"; @@ -233,7 +234,10 @@ function Assets(props: AssetsPageProps) { , e?.price ? `${e?.price}$` : "No data", - e?.asset_id === ZANO_ID ? "Coingecko" : "Zano Trade" + e?.asset_id === ZANO_ID ? + Coingecko + : + Zano Trade ]); const statsPanelData = [