Skip to content

Commit

Permalink
build(frontend): update to next 11.1.2
Browse files Browse the repository at this point in the history
Update due to a bug importing global css in _app.tsx see: vercel/next.js#28579
  • Loading branch information
lukasalvarezdev committed Sep 2, 2021
1 parent e533c28 commit fec8383
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 43 deletions.
78 changes: 39 additions & 39 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@types/styled-components": "^5.1.12",
"babel-plugin-styled-components": "^1.13.2",
"next": "^11.1.1",
"next": "^11.1.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.0"
Expand Down
3 changes: 0 additions & 3 deletions frontend/pages/_app.tsx
@@ -1,9 +1,6 @@
import Head from 'next/head'
import { AppProps } from 'next/app'
import '../styles/variables.css'
import '../styles/globals.css'
import '../styles/resets.css'
import '../styles/lib.css'

const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
return (
Expand Down
4 changes: 4 additions & 0 deletions frontend/styles/globals.css
@@ -1,3 +1,7 @@
@import url('./lib.css');
@import url('./resets.css');
@import url('./variables.css');

.container {
max-width: 1200px;
width: 95%;
Expand Down

0 comments on commit fec8383

Please sign in to comment.