Design Prot Merge #1
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { untrack } from 'svelte';
|
||||||
import { enhance } from '$app/forms';
|
import { enhance } from '$app/forms';
|
||||||
import ImageDropzone from './ImageDropzone.svelte';
|
import ImageDropzone from './ImageDropzone.svelte';
|
||||||
import Button from './Button.svelte';
|
import Button from './Button.svelte';
|
||||||
@@ -33,8 +34,8 @@
|
|||||||
onSuccess
|
onSuccess
|
||||||
}: Props = $props();
|
}: Props = $props();
|
||||||
|
|
||||||
let name = $state(initialName);
|
let name = $state(untrack(() => initialName));
|
||||||
let description = $state(initialDescription);
|
let description = $state(untrack(() => initialDescription));
|
||||||
let submitting = $state(false);
|
let submitting = $state(false);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -274,7 +274,8 @@ class PlayerState {
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.#retriedId = null;
|
this.#retriedId = null;
|
||||||
this.#pushRecent(this.current);
|
this.#pushRecent(this.current);
|
||||||
} catch {
|
} catch (exception) {
|
||||||
|
console.error('playback failed', exception);
|
||||||
if (token !== this.#loadToken) return;
|
if (token !== this.#loadToken) return;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.playing = false;
|
this.playing = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user