refactor: move pages outof src
This commit is contained in:
parent
be59a3f78a
commit
c2bcd3fea3
|
|
@ -3,8 +3,6 @@ import { useRouter } from "next/router"
|
|||
import type { ReactElement } from "react"
|
||||
|
||||
import { AchievementItem } from "~/components/common/AchievementItem"
|
||||
import { DashboardLayout } from "~/components/dashboard/DashboardLayout"
|
||||
import { getServerSideProps as getLayoutServerSideProps } from "~/components/dashboard/DashboardLayout.server"
|
||||
import { DashboardMain } from "~/components/dashboard/DashboardMain"
|
||||
import { serverSidePropsHandler } from "~/lib/server-side-props"
|
||||
import { useGetAchievements, useGetSite } from "~/queries/site"
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import { useParams } from "next/navigation"
|
||||
import type { ReactElement } from "react"
|
||||
|
||||
import {
|
||||
useAccountBalance,
|
||||
|
|
@ -9,7 +8,6 @@ import {
|
|||
useWalletClaimCSBModal,
|
||||
} from "@crossbell/connect-kit"
|
||||
|
||||
import { DashboardLayout } from "~/components/dashboard/DashboardLayout"
|
||||
import { DashboardMain } from "~/components/dashboard/DashboardMain"
|
||||
import { Button } from "~/components/ui/Button"
|
||||
import { UniLink } from "~/components/ui/UniLink"
|
||||
|
|
@ -149,7 +147,3 @@ export default function TokensPage() {
|
|||
</DashboardMain>
|
||||
)
|
||||
}
|
||||
|
||||
TokensPage.getLayout = (page: ReactElement) => {
|
||||
return <DashboardLayout title="Tokens">{page}</DashboardLayout>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue