Skip to content

Commit 82ec9bc

Browse files
committed
refactor: index/lazy convention over client/server
1 parent 4397fff commit 82ec9bc

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

app/[locale]/wallets/find-wallet/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { Lang } from "@/lib/types"
99

1010
import Breadcrumbs from "@/components/Breadcrumbs"
11-
import FindWalletProductTable from "@/components/FindWalletProductTable/server"
11+
import FindWalletProductTable from "@/components/FindWalletProductTable/lazy"
1212
import I18nProvider from "@/components/I18nProvider"
1313
import MainArticle from "@/components/MainArticle"
1414

src/components/FindWalletProductTable/FindWalletProductTable.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from "@storybook/react"
22

33
import { Lang } from "@/lib/types"
44

5-
import FindWalletProductTable from "@/components/FindWalletProductTable/client"
5+
import FindWalletProductTable from "@/components/FindWalletProductTable"
66

77
import OneInchWalletImage from "@/public/images/wallets/1inch.png"
88
import FoxWalletImage from "@/public/images/wallets/foxwallet.png"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import dynamic from "next/dynamic"
2+
3+
import Loading from "./loading"
4+
5+
export default dynamic(() => import("."), { ssr: false, loading: Loading })

src/components/FindWalletProductTable/server.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)