fix: build errors

This commit is contained in:
trafficlunar 2025-04-18 16:28:16 +01:00
parent 6ae3fd2aef
commit 75b0c95b77
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ export default function ImageViewer({ src, alt, width, height, className, images
// Scroll snaps
setScrollSnaps(emblaApi.scrollSnapList());
emblaApi.on("select", () => setSelectedIndex(emblaApi.selectedScrollSnap()));
}, [emblaApi]);
}, [emblaApi, images, src]);
return (
<>

View file

@ -105,7 +105,7 @@ export default function ProfileSettings() {
>
<div className="bg-orange-100 rounded-xl border-2 border-orange-400 mt-4 px-2 py-1">
<p className="font-semibold">New display name:</p>
<p className="indent-4">'{displayName}'</p>
<p className="indent-4">&apos;{displayName}&apos;</p>
</div>
</SubmitDialogButton>
</div>
@ -144,7 +144,7 @@ export default function ProfileSettings() {
<div className="bg-orange-100 rounded-xl border-2 border-orange-400 mt-4 px-2 py-1">
<p className="font-semibold">New username:</p>
<p className="indent-4">'@{username}'</p>
<p className="indent-4">&apos;@{username}&apos;</p>
</div>
</SubmitDialogButton>
</div>