Skip to content

Commit

Permalink
docs: Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joncursi committed Mar 7, 2024
1 parent 5b71f01 commit 572fddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ export const Map: React.FC<MapProps> = ({
/>
{data && (
<Source data={data} type="geojson" {...sourceProps} id={sourceId}>
{/* fix for TS complaings about the incompatibility of layerProps and dataLayer, even though
dataLayer is one of the multiple types accepted by layerProps */}
{/* Fix for TS complaining about the incompatibility of layerProps and dataLayer, even though
dataLayer is one of the multiple types accepted by layerProps. */}
{layerProps ? <Layer {...layerProps} /> : <Layer {...dataLayer} />}
{layers}
</Source>
Expand Down

0 comments on commit 572fddb

Please sign in to comment.