Finish svelte 5 migration
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import {run, preventDefault, stopPropagation} from "svelte/legacy"
|
||||
|
||||
import {randomId} from "@welshman/lib"
|
||||
import {preventDefault, stopPropagation} from "@lib/html"
|
||||
import Icon from "@lib/components/Icon.svelte"
|
||||
|
||||
interface Props {
|
||||
@@ -44,7 +43,7 @@
|
||||
let active = $state(false)
|
||||
let initialUrl = $state(url)
|
||||
|
||||
run(() => {
|
||||
$effect(() => {
|
||||
if (file) {
|
||||
const reader = new FileReader()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user