Add route management to StoreViewPage

This commit is contained in:
2026-09-04 11:50:06 +05:30
parent 1645eae694
commit 1bdda3a8ab
2 changed files with 20 additions and 5 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
import type { NextConfig } from "next"
const nextConfig: NextConfig = {}
const nextConfig: NextConfig = {
// react-leaflet's MapContainer doesn't support Strict Mode's dev-only double-invoke of
// mount effects — Leaflet's own map cleanup isn't synchronous, so the second init crashes
// with "Cannot read properties of undefined (reading 'appendChild')" on any page using
// LocationPicker. Production builds never double-invoke, so this only affects local dev.
reactStrictMode: false,
}
export default nextConfig