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