diff --git a/next.config.js b/next.config.js index b3d3fac..bc99230 100644 --- a/next.config.js +++ b/next.config.js @@ -1,12 +1,14 @@ const { withPlaiceholder } = require("@plaiceholder/next"); -module.exports = withPlaiceholder({ +/** @type {import('next').NextConfig} */ +const nextConfig = { reactStrictMode: true, images: { domains: ["dl.airtable.com", "v5.airtableusercontent.com"], }, experimental: { appDir: true, - fontLoaders: [{ loader: "@next/font/google", options: { subsets: ["latin"] } }], }, -}); +}; + +module.exports = withPlaiceholder(nextConfig); diff --git a/package.json b/package.json index a7a063d..e447876 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@vercel/analytics": "0.1.11", "airtable": "0.11.6", "framer-motion": "10.12.4", - "next": "13.2.4", + "next": "13.3.1", "plaiceholder": "2.5.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -33,7 +33,7 @@ "@commitlint/cli": "17.6.1", "@commitlint/config-conventional": "17.6.1", "eslint": "8.36.0", - "eslint-config-next": "13.2.4", + "eslint-config-next": "13.3.1", "eslint-config-prettier": "8.8.0", "husky": "8.0.3", "lint-staged": "13.2.0", diff --git a/styles/theme.js b/styles/theme.js index bf2f1f6..c7e6de3 100644 --- a/styles/theme.js +++ b/styles/theme.js @@ -2,7 +2,7 @@ import { extendTheme } from "@chakra-ui/react"; import { mode } from "@chakra-ui/theme-tools"; import { Inter } from "next/font/google"; -const inter = Inter(); +const inter = Inter({ subsets: ["latin"] }); const breakpoints = { xs: "375px",