Skip to content

Commit

Permalink
fix(build): remove swcMinify property at next.config.js
Browse files Browse the repository at this point in the history
Fixes: Client-side Exception Occurred
  • Loading branch information
fariasmateuss committed Jun 25, 2022
1 parent fe7bfe3 commit a5d8473
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
reactStrictMode: true,
swcMinify: true,
webpack: (config, { isServer }) => {
config.module.rules.push({
test: /\.(mp3)$/,
Expand Down
4 changes: 0 additions & 4 deletions styles/pages/Home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ import { motion } from 'framer-motion';
import styled, { css } from 'styled-components';
import media from 'styled-media-query';

type CardContainer = {
width?: string;
};

export const Wrapper = styled.main`
min-height: 100vh;
display: flex;
Expand Down

0 comments on commit a5d8473

Please sign in to comment.