From 254d15bb1e73964088700070ea761560938c340b Mon Sep 17 00:00:00 2001 From: Urban Date: Wed, 10 Apr 2024 11:42:31 +0200 Subject: [PATCH] fix(dapp): padding and pino-pretty (#618) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Urban Vidovič --- packages/dapp/next.config.js | 1 + packages/dapp/src/components/ConnectedProvider/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/dapp/next.config.js b/packages/dapp/next.config.js index 5a015fabd..ec4c5e57e 100644 --- a/packages/dapp/next.config.js +++ b/packages/dapp/next.config.js @@ -112,6 +112,7 @@ const nextConfig = { }, webpack: (config) => { + config.externals.push('pino-pretty'); config.module.rules.push({ test: /\.svg$/, use: ['@svgr/webpack'], diff --git a/packages/dapp/src/components/ConnectedProvider/index.tsx b/packages/dapp/src/components/ConnectedProvider/index.tsx index 3c97a8787..669309189 100644 --- a/packages/dapp/src/components/ConnectedProvider/index.tsx +++ b/packages/dapp/src/components/ConnectedProvider/index.tsx @@ -22,7 +22,7 @@ const ConnectedProvider = ({ children }: ConnectedProviderProps) => { return isConnected ? ( <>{children} ) : ( -
+