mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-13 17:21:53 +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>
|
||||
|
||||
<MarkerClusterGroup chunkedLoading showCoverageOnHover={false}>
|
||||
{listBars.map((bar: any, index: number) => (
|
||||
{listBars?.map?.((bar: any, index: number) => (
|
||||
<MarkerBar key={index} bar={bar} />
|
||||
))}
|
||||
</MarkerClusterGroup>
|
||||
|
||||
Reference in New Issue
Block a user