From 97a06f59ec43fa2a7e568d949770be5d4f1fa46a Mon Sep 17 00:00:00 2001 From: Jay Date: Sun, 7 Apr 2024 12:22:09 +0800 Subject: [PATCH] Update page title (#18) --- src/app/page.tsx | 6 ------ src/app/records/[id]/page.tsx | 6 ------ src/app/records/page.tsx | 6 ------ 3 files changed, 18 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 284506da..09146587 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,13 +1,7 @@ -import { Metadata } from "next"; import dynamic from "next/dynamic"; const PageSelect = dynamic(() => import("@/components/page-select"), { ssr: false }); -export const metadata: Metadata = { - title: "Darwinia xToken - Helix Bridge", - description: "Darwinia xToken cross-chain powered by Helix Bridge.", -}; - export default function Home() { return ; } diff --git a/src/app/records/[id]/page.tsx b/src/app/records/[id]/page.tsx index b9ca9433..1ca3efa7 100644 --- a/src/app/records/[id]/page.tsx +++ b/src/app/records/[id]/page.tsx @@ -2,12 +2,6 @@ import Footer from "@/components/footer"; import Header from "@/components/header"; import RecordDetail from "@/components/record-detail"; import PageWrap from "@/ui/page-wrap"; -import { Metadata } from "next"; - -export const metadata: Metadata = { - title: "Darwinia xToken - Helix Bridge", - description: "Darwinia xToken cross-chain powered by Helix Bridge.", -}; interface Props { params: { diff --git a/src/app/records/page.tsx b/src/app/records/page.tsx index 6dcbf640..dc7c10ac 100644 --- a/src/app/records/page.tsx +++ b/src/app/records/page.tsx @@ -1,16 +1,10 @@ import Footer from "@/components/footer"; import Header from "@/components/header"; import PageWrap from "@/ui/page-wrap"; -import { Metadata } from "next"; import dynamic from "next/dynamic"; const HistoryRecords = dynamic(() => import("@/components/history-records")); -export const metadata: Metadata = { - title: "Darwinia xToken - Helix Bridge", - description: "Darwinia xToken cross-chain powered by Helix Bridge.", -}; - export default function RecordsPage() { return ( <>