diff --git a/packages/components/src/components/Map.tsx b/packages/components/src/components/Map.tsx index 9bbc099d..0cd62133 100644 --- a/packages/components/src/components/Map.tsx +++ b/packages/components/src/components/Map.tsx @@ -159,7 +159,8 @@ export function Map({ } return attr.replace( /\{attribution.(\w*)\}/g, - function (match, attributionName) { + function (match: any, attributionName: string) { + match; return attributionReplacer( providers[attributionName].options.attribution );