diff --git a/README.md b/README.md index 49907c6..8c1aab7 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,7 @@ const client = new Eik({ await client.load(); const maps = client.maps(); -const combined = maps - .map((map) => map.imports) - .reduce((map, acc) => ({ ...acc, ...map }), {}); +const combined = maps.reduce((map, acc) => ({ ...acc, ...map }), {}); const html = ` `, );