fix: build errors
This commit is contained in:
parent
6ae3fd2aef
commit
75b0c95b77
2 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ export default function ImageViewer({ src, alt, width, height, className, images
|
||||||
// Scroll snaps
|
// Scroll snaps
|
||||||
setScrollSnaps(emblaApi.scrollSnapList());
|
setScrollSnaps(emblaApi.scrollSnapList());
|
||||||
emblaApi.on("select", () => setSelectedIndex(emblaApi.selectedScrollSnap()));
|
emblaApi.on("select", () => setSelectedIndex(emblaApi.selectedScrollSnap()));
|
||||||
}, [emblaApi]);
|
}, [emblaApi, images, src]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
|
|
@ -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">
|
<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="font-semibold">New display name:</p>
|
||||||
<p className="indent-4">'{displayName}'</p>
|
<p className="indent-4">'{displayName}'</p>
|
||||||
</div>
|
</div>
|
||||||
</SubmitDialogButton>
|
</SubmitDialogButton>
|
||||||
</div>
|
</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">
|
<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="font-semibold">New username:</p>
|
||||||
<p className="indent-4">'@{username}'</p>
|
<p className="indent-4">'@{username}'</p>
|
||||||
</div>
|
</div>
|
||||||
</SubmitDialogButton>
|
</SubmitDialogButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue