From af655c592f6efe8716e37e6bb633d338c8cba6f8 Mon Sep 17 00:00:00 2001 From: F-OBrien Date: Sun, 17 Nov 2024 15:57:47 +0000 Subject: [PATCH] add base path to image src url --- pages/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index b845c89..4ebb140 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,8 +1,10 @@ import type { NextPage } from 'next'; import Head from 'next/head'; -import Image from "next/legacy/image"; +import Image from 'next/legacy/image'; +import { useRouter } from 'next/router'; const Home: NextPage = () => { + const { basePath } = useRouter(); return ( <> @@ -16,7 +18,7 @@ const Home: NextPage = () => {
This is the home page. Not much to see here.
{`If you're here it's because you love`}
- Polymesh + Polymesh
Click the above links to see staking related charts