Skip to content

Commit

Permalink
chore: Swiper 0.9.4 버전 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
semnil5202 committed Jul 12, 2024
1 parent a86b235 commit e68af3e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions frontend/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 frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@tanstack/react-query-devtools": "^5.17.9",
"axios": "^1.5.1",
"history": "^5.3.0",
"map-befine-swiper": "^0.9.1",
"map-befine-swiper": "^0.9.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-ga4": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Banner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Banner() {
};

return (
<Swiper as="section" width={1140} height={400} $tabBoxPosition="bottom" autoplay>
<Swiper tag="section" width={1140} height="auto" $tabBoxPosition="bottom" autoplay>
<Tab label="붕어빵 지도">
<Box cursor="pointer" onClick={goToBoongABbangTopic}>
<BannerImage
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/PinImageContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function PinImageContainer({ images, getPinData }: PinImageContainerProps) {

return (
<Wrapper>
<Swiper as="ul" width={330} height={100} $slidePerTab={3}>
<Swiper tag="ul" width={330} height={100} $slidePerTab={3}>
{images.map((image, index) => (
<Tab label={`${index}`} key={image.id}>
<ImageWrapper key={`image-${index}`}>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/TopicCardContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ function TopicCardContainer({
<Space size={4} />

<Swiper
as="ul"
tag="ul"
width={1140}
height={300}
height="auto"
$slidePerTab={5}
$breakPoints={{
1100: 4,
Expand Down

0 comments on commit e68af3e

Please sign in to comment.