mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
fix: links rerender when switching category
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user