Skip to content

Commit 488c2c4

Browse files
committed
fix local development
1 parent ecb29d5 commit 488c2c4

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

tools/scripts/dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ dotenv \
2121
-e .env.local \
2222
-e .env.development \
2323
-e .env \
24-
-- bash -c './deploy/scripts/make_envs_script.sh && next dev --turbopack -p $NEXT_PUBLIC_APP_PORT' |
24+
-- bash -c './deploy/scripts/make_envs_script.sh && next dev -p $NEXT_PUBLIC_APP_PORT' |
2525
pino-pretty

ui/pages/Home.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
import { Box, Flex } from '@chakra-ui/react';
2+
import dynamic from 'next/dynamic';
23
import React from 'react';
34

45
import config from 'configs/app';
56
import HeroBanner from 'ui/home/HeroBanner';
6-
import ChainIndicators from 'ui/home/indicators/ChainIndicators';
7-
import LatestArbitrumL2Batches from 'ui/home/latestBatches/LatestArbitrumL2Batches';
8-
import LatestZkEvmL2Batches from 'ui/home/latestBatches/LatestZkEvmL2Batches';
9-
import LatestBlocks from 'ui/home/LatestBlocks';
10-
import Stats from 'ui/home/Stats';
11-
import Transactions from 'ui/home/Transactions';
7+
8+
const ChainIndicators = dynamic(() => import('ui/home/indicators/ChainIndicators'), { ssr: false });
9+
const LatestArbitrumL2Batches = dynamic(() => import('ui/home/latestBatches/LatestArbitrumL2Batches'), { ssr: false });
10+
const LatestZkEvmL2Batches = dynamic(() => import('ui/home/latestBatches/LatestZkEvmL2Batches'), { ssr: false });
11+
const LatestBlocks = dynamic(() => import('ui/home/LatestBlocks'), { ssr: false });
12+
const Stats = dynamic(() => import('ui/home/Stats'), { ssr: false });
13+
const Transactions = dynamic(() => import('ui/home/Transactions'), { ssr: false });
1214

1315
const rollupFeature = config.features.rollup;
1416

0 commit comments

Comments
 (0)