Before opening an issue, make sure to read the contributing guide and understand this is a bug tracker, not a support platform.
Please make sure to check the following boxes before submitting an issue.\
Issues opened without using this template will be closed unless they have a good reason not to follow this template.
[x] All peer dependencies are installed: React, ReactDOM and Leaflet.
[x] Using the latest version of React and ReactDOM v18.
[x] Using the supported version of Leaflet (v1.8.0 minimum) and its corresponding CSS file is loaded.
Bug report in v4
Before opening an issue, make sure to read the contributing guide and understand this is a bug tracker, not a support platform.
Please make sure to check the following boxes before submitting an issue.\ Issues opened without using this template will be closed unless they have a good reason not to follow this template.
Expected behavior
This occured after upgrading to next.js 13.4.20
Actual behavior
Please describe.
Steps to reproduce
Please provide the simplest example possible to reproduce the issue, based on this StackBlitz.