Skip to content

Commit

Permalink
refactor: Replace depreacted onLoadingComplete with onLoad
Browse files Browse the repository at this point in the history
  • Loading branch information
JuditKaramazov committed Oct 6, 2024
1 parent d4b7fb9 commit aa1aa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ProjectImage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function ProjectImage({
quality={85}
priority={priority}
placeholder="empty"
onLoadingComplete={() => setLoaded(true)}
onLoad={() => setLoaded(true)}
/>
</ m.figure>
</ LazyMotion>
Expand Down

0 comments on commit aa1aa33

Please sign in to comment.