diff --git a/package.json b/package.json index b812f324..8fd063d3 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,8 @@ "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", "@contentful/rich-text-html-renderer": "^16.6.9", - "@fontsource-variable/nunito-sans": "^5.0.15", - "@fontsource/baskervville": "^5.0.21", + "@fontsource-variable/nunito-sans": "^5.0.16", + "@fontsource/baskervville": "^5.0.22", "@hookform/resolvers": "^3.9.0", "@million/lint": "1.0.0-rc.84", "algoliasearch": "^5.3.0", diff --git a/src/ui/modules/core/components/slider/Slider.tsx b/src/ui/modules/core/components/slider/Slider.tsx index 1f73f89b..652f953f 100644 --- a/src/ui/modules/core/components/slider/Slider.tsx +++ b/src/ui/modules/core/components/slider/Slider.tsx @@ -9,7 +9,7 @@ import "swiper/css/bundle"; export interface Slider { items: T[]; - renderItem: (item: T, index: number) => ReactNode; + renderItem: (item: T) => ReactNode; swiperOptions: SwiperOptions; origin: URL; } @@ -23,9 +23,9 @@ export const Slider = ({ items, renderItem, swiperOptions, origin }: Slider<
    - {items.map((item, index) => ( + {items.map((item) => (
  • - {renderItem(item, index)} + {renderItem(item)}
  • ))}
diff --git a/yarn.lock b/yarn.lock index 0a9f2577..5119a4df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2387,17 +2387,17 @@ __metadata: languageName: node linkType: hard -"@fontsource-variable/nunito-sans@npm:^5.0.15": - version: 5.0.15 - resolution: "@fontsource-variable/nunito-sans@npm:5.0.15" - checksum: 10c0/b437d0bb71faa493ea3c9c228d63729ada9c091517830caf0affc728abf138593360510d7c73646a5d4a1f1842731be0564949040fcf1e3a058db357f7212d7a +"@fontsource-variable/nunito-sans@npm:^5.0.16": + version: 5.0.16 + resolution: "@fontsource-variable/nunito-sans@npm:5.0.16" + checksum: 10c0/7e112b64fa0bae2c441759533a0c915c8f75097239b489b78264bf5bf8e07e0bbc3f47b0107fc30bd6a2a732cb6b5a84d042e128e25cc912a85cec4ff005dd1b languageName: node linkType: hard -"@fontsource/baskervville@npm:^5.0.21": - version: 5.0.21 - resolution: "@fontsource/baskervville@npm:5.0.21" - checksum: 10c0/a87195e2362bec1bf7f4f945f25f8d96f7e7d3aab324fd76ad9a91958c67e17c0d09c2fc8a1f1de8b2a5f539178478baa56639f85cc80b5e2d4b9bdeaaea0dde +"@fontsource/baskervville@npm:^5.0.22": + version: 5.0.22 + resolution: "@fontsource/baskervville@npm:5.0.22" + checksum: 10c0/87ffa3cbfe3377b0cfc694b53a2f040ed59510cf3a469385e5532adb3db000ab16fb7cee1e0b8031e757d87510ed0f5daa171e18b5d2d4b52695a57d5a94d847 languageName: node linkType: hard @@ -4446,8 +4446,8 @@ __metadata: "@commitlint/config-conventional": "npm:^19.4.1" "@commitlint/format": "npm:^19.3.0" "@contentful/rich-text-html-renderer": "npm:^16.6.9" - "@fontsource-variable/nunito-sans": "npm:^5.0.15" - "@fontsource/baskervville": "npm:^5.0.21" + "@fontsource-variable/nunito-sans": "npm:^5.0.16" + "@fontsource/baskervville": "npm:^5.0.22" "@hookform/resolvers": "npm:^3.9.0" "@million/lint": "npm:1.0.0-rc.84" "@testing-library/react": "npm:^16.0.1"