Skip to content

Commit d0f5ccd

Browse files
committed
✨ feat: next rainbowKit ssr
1 parent 5b8a4b9 commit d0f5ccd

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/rainbowkit-next-starter/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "rainbowkit-next-starter",
33
"version": "0.1.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"start": "next dev",
78
"build": "next build",

packages/rainbowkit-next-starter/pages/_app.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import '../styles/globals.css';
22
import dynamic from 'next/dynamic';
3+
import DynamicWagmi from '../src/components/dynamicWagmi';
34

4-
const DynamicWagmi = dynamic(() => import('../src/components/dynamicWagmi/index'), {
5-
ssr: false,
6-
});
5+
// const DynamicWagmi = dynamic(() => import('../src/components/dynamicWagmi/index'), {
6+
// ssr: false,
7+
// });
78

89
function MyApp({ Component, pageProps }) {
910
return (

packages/web-demo/src/components/DemoSetting/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ function DemoSetting(props: any) {
140140
modalBorderRadius: Number(modalBorderRadius),
141141
});
142142
localStorage.setItem('dapp_particle_modal_border_radius', modalBorderRadius + '');
143-
console.log('change modal border radius');
144143
}, [modalBorderRadius]);
145144
return (
146145
<div className="filter-box card" style={{ flex: 1 }}>

packages/web-demo/src/components/PnSelect/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function PnSelect(props: PnSelectProps) {
2626
const item = props.options.find((item) => item.value === value);
2727
return item;
2828
}, [value]);
29-
console.log(props);
3029

3130
useEffect(() => {
3231
if (props?.value) {

0 commit comments

Comments
 (0)