Bump @sveltejs/kit from 2.16.1 to 2.50.2 in /web (#772)
* Bump @sveltejs/kit from 2.16.1 to 2.50.2 in /web Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.16.1 to 2.50.2. - [Release notes](https://github.com/sveltejs/kit/releases) - [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md) - [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.50.2/packages/kit) --- updated-dependencies: - dependency-name: "@sveltejs/kit" dependency-version: 2.50.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Fix errors * Fix errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonas Plum <git@cugu.eu> Co-authored-by: Jonas Plum <cugu@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
onedit,
|
||||
}: Props = $props();
|
||||
|
||||
let gallery: PhotoGallery;
|
||||
let gallery: PhotoGallery | undefined = $state();
|
||||
|
||||
let imgSrc: string[] = $state([]);
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
<button
|
||||
class="relative w-16 aspect-square ml-2 mb-3 shrink-0"
|
||||
type="button"
|
||||
onclick={() => gallery.openGallery()}
|
||||
onclick={() => gallery?.openGallery()}
|
||||
>
|
||||
{#each imgSrc as img, i}
|
||||
{#if isVideoURL(img)}
|
||||
|
||||
Reference in New Issue
Block a user