Skip to content

Commit

Permalink
fix: PeopleCell image flickering 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Mar 15, 2024
1 parent 81c04c7 commit 4f3d6cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- design/mobileNav
- fix/image

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions app/[locale]/people/helper/PeopleCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export default function PeopleCell({
width={144}
height={192}
quality={50}
// 화면 이동시 flickering을 막기 위해 추가
// https://github.com/vercel/next.js/discussions/20991
priority
/>
</Link>
<div className="flex flex-col items-start break-keep">
Expand Down

0 comments on commit 4f3d6cf

Please sign in to comment.