diff --git a/packages/rainbowkit-next-starter/next.config.js b/packages/rainbowkit-next-starter/next.config.cjs similarity index 100% rename from packages/rainbowkit-next-starter/next.config.js rename to packages/rainbowkit-next-starter/next.config.cjs diff --git a/packages/rainbowkit-next-starter/package.json b/packages/rainbowkit-next-starter/package.json index fe529d6..3455d14 100644 --- a/packages/rainbowkit-next-starter/package.json +++ b/packages/rainbowkit-next-starter/package.json @@ -2,6 +2,7 @@ "name": "rainbowkit-next-starter", "version": "0.1.0", "private": true, + "type": "module", "scripts": { "start": "next dev", "build": "next build", diff --git a/packages/rainbowkit-next-starter/pages/_app.js b/packages/rainbowkit-next-starter/pages/_app.js index bcbd4c5..5856266 100644 --- a/packages/rainbowkit-next-starter/pages/_app.js +++ b/packages/rainbowkit-next-starter/pages/_app.js @@ -1,9 +1,10 @@ import '../styles/globals.css'; import dynamic from 'next/dynamic'; +import DynamicWagmi from '../src/components/dynamicWagmi'; -const DynamicWagmi = dynamic(() => import('../src/components/dynamicWagmi/index'), { - ssr: false, -}); +// const DynamicWagmi = dynamic(() => import('../src/components/dynamicWagmi/index'), { +// ssr: false, +// }); function MyApp({ Component, pageProps }) { return ( diff --git a/packages/web-demo/src/components/DemoSetting/index.tsx b/packages/web-demo/src/components/DemoSetting/index.tsx index adf4fcf..363ea35 100644 --- a/packages/web-demo/src/components/DemoSetting/index.tsx +++ b/packages/web-demo/src/components/DemoSetting/index.tsx @@ -140,7 +140,6 @@ function DemoSetting(props: any) { modalBorderRadius: Number(modalBorderRadius), }); localStorage.setItem('dapp_particle_modal_border_radius', modalBorderRadius + ''); - console.log('change modal border radius'); }, [modalBorderRadius]); return (
diff --git a/packages/web-demo/src/components/PnSelect/index.tsx b/packages/web-demo/src/components/PnSelect/index.tsx index 750ea9c..59a7987 100644 --- a/packages/web-demo/src/components/PnSelect/index.tsx +++ b/packages/web-demo/src/components/PnSelect/index.tsx @@ -26,7 +26,6 @@ function PnSelect(props: PnSelectProps) { const item = props.options.find((item) => item.value === value); return item; }, [value]); - console.log(props); useEffect(() => { if (props?.value) {