fix: links rerender when switching category

This commit is contained in:
Sonny
2023-04-22 01:43:16 +02:00
parent 01bdeb7d73
commit ab462aafd4
6 changed files with 28 additions and 30 deletions

View File

@@ -1,17 +1,18 @@
/** @type {import('next').NextConfig} */
const config = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
use: ["@svgr/webpack"],
});
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
use: ["@svgr/webpack"],
});
return config;
},
images: {
domains: ["localhost", "t3.gstatic.com", "lh3.googleusercontent.com"],
formats: ["image/webp"],
},
return config;
},
images: {
domains: ["localhost", "t3.gstatic.com", "lh3.googleusercontent.com"],
formats: ["image/webp"],
},
reactStrictMode: false,
};
module.exports = config;