feat: use state based auth instead of store based (#488)

* misc: switch to state for auth

* fix: class based auth not working
This commit is contained in:
Xylight authored and GitHub committed 2025-02-08 13:49:09 -08:00
1 parent 8c6ff77fac
commit 5651ad475d
83 files changed
+395 -469

No files matched your search

+2 -5
View File
@@ -6,10 +6,7 @@
let link = $state('')
let photonified
run(() => {
photonified = photonify(link)
})
let photonified = $derived(photonify(link))
</script>
<h1 class="font-bold text-2xl">Photonify links</h1>
@@ -21,5 +18,5 @@
bind:value={link}
placeholder="https://lemmy.world/post/1"
/>
<TextInput label="Output" bind:value={photonified} />
<TextInput label="Output" value={photonified} />
</div>