mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-07-09 15:08:06 +00:00
fix(Bug retour after invite): bug that crashed app when retour after invite
This commit is contained in:
@@ -54,7 +54,7 @@ export default function MapComponent(props: any) {
|
|||||||
<Marker icon={userIcon} position={location}></Marker>
|
<Marker icon={userIcon} position={location}></Marker>
|
||||||
|
|
||||||
<MarkerClusterGroup chunkedLoading showCoverageOnHover={false}>
|
<MarkerClusterGroup chunkedLoading showCoverageOnHover={false}>
|
||||||
{listBars.map((bar: any, index: number) => (
|
{listBars?.map?.((bar: any, index: number) => (
|
||||||
<MarkerBar key={index} bar={bar} />
|
<MarkerBar key={index} bar={bar} />
|
||||||
))}
|
))}
|
||||||
</MarkerClusterGroup>
|
</MarkerClusterGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user