Skip to content

Commit

Permalink
Updated next version and cleaned up lint
Browse files Browse the repository at this point in the history
Former-commit-id: e746ba8
  • Loading branch information
lucasantarella committed Mar 17, 2023
1 parent 2204428 commit 6f22463
Show file tree
Hide file tree
Showing 4 changed files with 982 additions and 1,516 deletions.
14 changes: 11 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"ignorePatterns": [
"node_modules/",
"dist/",
"coverage/",
".next",
"src/.next/",
"out/"
],
"extends": "next/core-web-vitals",
"settings": {
"next": {
"rootDir": "src/"
}
"next": {
"rootDir": "src/"
}
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"next": "^11.0.0",
"next": "^13.2.4",
"pro-gallery": "^3.1.38",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand All @@ -22,6 +22,8 @@
"devDependencies": {
"babel-plugin-transform-define": "^1.3.2",
"eslint": "^8.36.0",
"eslint-config-next": "13.2.4",
"eslint-plugin-next": "^0.0.0",
"gh-pages": "^2.1.1",
"rimraf": "^3.0.0"
}
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import LeftArrow from '../components/icons/LeftArrow'
import RightArrow from '../components/icons/RigthArrow'
import Play from '../components/icons/Play'
import Close from '../components/icons/Close'
import { useRouter } from 'next/router'

console.log({ useInterval })

export default function Index () {
const router = useRouter()
const isBrowser = () => typeof window !== 'undefined'
const smallScreen = useMedia('(max-width: 1100px)')
const max950w = useMedia('(max-width: 950px)')
Expand Down
Loading

0 comments on commit 6f22463

Please sign in to comment.