Finish svelte 5 migration

This commit is contained in:
Jon Staab
2025-02-03 19:28:29 -08:00
parent 24045a7e2a
commit a0e97d5e5b
38 changed files with 52 additions and 105 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
<script lang="ts">
import {run} from "svelte/legacy"
import {PublishStatus} from "@welshman/net"
import {displayRelayUrl} from "@welshman/util"
import Button from "@lib/components/Button.svelte"
@@ -14,7 +12,7 @@
let {url, status, message = $bindable(), retry}: Props = $props()
run(() => {
$effect(() => {
if (!message && status === PublishStatus.Timeout) {
message = "request timed out"
}