fix: add next 11
This commit is contained in:
+3
-3
@@ -7,9 +7,9 @@ module.exports = {
|
|||||||
siteUrl: 'https://miphospital.ir',
|
siteUrl: 'https://miphospital.ir',
|
||||||
generateRobotsTxt: true, // (optional)
|
generateRobotsTxt: true, // (optional)
|
||||||
...withImages(),
|
...withImages(),
|
||||||
future: {
|
// future: {
|
||||||
webpack5: true
|
// webpack5: true
|
||||||
},
|
// },
|
||||||
images: {
|
images: {
|
||||||
disableStaticImages: true
|
disableStaticImages: true
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+9405
-6282
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -31,7 +31,7 @@
|
|||||||
"leaflet-geosearch": "^3.3.2",
|
"leaflet-geosearch": "^3.3.2",
|
||||||
"mdb-react-ui-kit": "^1.0.0-beta7",
|
"mdb-react-ui-kit": "^1.0.0-beta7",
|
||||||
"moment-jalaali": "^0.9.6",
|
"moment-jalaali": "^0.9.6",
|
||||||
"next": "^10.2.3",
|
"next": "^11.1.4",
|
||||||
"next-images": "^1.8.1",
|
"next-images": "^1.8.1",
|
||||||
"next-sitemap": "^3.1.22",
|
"next-sitemap": "^3.1.22",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
@@ -59,6 +59,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^10.4.0",
|
"autoprefixer": "^10.4.0",
|
||||||
|
"eslint": "^8.56.0",
|
||||||
"postcss": "^8.4.5",
|
"postcss": "^8.4.5",
|
||||||
"tailwindcss": "^3.0.2"
|
"tailwindcss": "^3.0.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import dynamic from 'next/dist/next-server/lib/dynamic'
|
|
||||||
import { Skeleton } from '@chakra-ui/react'
|
import { Skeleton } from '@chakra-ui/react'
|
||||||
|
import dynamic from 'next/dynamic'
|
||||||
const StockPriceChart = dynamic(() => import('../../src/components/Chart'), {
|
const StockPriceChart = dynamic(() => import('../../src/components/Chart'), {
|
||||||
ssr: false,
|
ssr: false,
|
||||||
loading: () => <Skeleton height={200} className='w-full'/>
|
loading: () => <Skeleton height={200} className='w-full'/>
|
||||||
|
|||||||
Reference in New Issue
Block a user