Skip to content

Commit

Permalink
Upgrade to Swiper 11
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Nov 27, 2023
1 parent e1119ed commit b97bb11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
16 changes: 4 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"sass": "1.69.5",
"swiper": "9.4.1",
"swiper": "11.0.5",
"url-loader": "4.1.1"
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/HomepageFeatures.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { ComponentType, HTMLProps, ReactNode } from 'react';
import { Navigation } from 'swiper';
import { Navigation } from 'swiper/modules';
import { Swiper, SwiperSlide } from 'swiper/react';

import 'swiper/css';
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/InActionSection.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clsx from 'clsx';
import React from 'react';
import { Autoplay, Pagination } from 'swiper';
import { Autoplay, Pagination } from 'swiper/modules';
import { Swiper, SwiperSlide } from 'swiper/react';

import HomeImageUrl from '../../../static/images/screenshots/home/10.8-home.png';
Expand Down

0 comments on commit b97bb11

Please sign in to comment.