Add route management to StoreViewPage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user