0

This is the code where i get that error:

export const showDataOnMap =(data, casesType = 'cases') => (
    data.map(country => (
        <Circle
            center={[country.countryInfo.lat, data.countryInfo.lng]}
            fillOpacity={0.4}
            color={casesTypeColors[casesType].hex}
            radius={
                Math.sqrt(country[casesType]) * casesTypeColors[casesType].multiplier
            }
        >
            <Popup>
                <h1>Im a popup</h1>
            </Popup>
        </Circle>
    ))
);

Please Help with this error...

Sai prakash
  • 29
  • 1
  • 3

0 Answers0