Skip to content

Commit

Permalink
fix: drop swc minify
Browse files Browse the repository at this point in the history
  • Loading branch information
Songkeys committed Aug 24, 2022
1 parent 17636a2 commit d6d0b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const nextConfig = {
compiler: {
// removeConsole: { exclude: ["error"] },
},
swcMinify: true,
// swcMinify: true,
};

module.exports = withBundleAnalyzer(nextConfig);
2 changes: 1 addition & 1 deletion utils/wallet/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function getCurrentAddress() {
try {
data = JSON.parse(data);
} catch {
return null;
return undefined;
}
}

Expand Down

0 comments on commit d6d0b7d

Please sign in to comment.