cleanup: use native html forms for earch and communities

This commit is contained in:
James Xylight committed 2025-02-03 21:51:28 -08:00
1 parent e46422c27b
commit 73a4c16322
37 files changed
+254 -246

No files matched your search

+4 -4
View File
@@ -27,7 +27,7 @@
clearErrorScope,
pushError,
} from '$lib/components/error/ErrorContainer.svelte'
import { page } from '$app/stores'
import { page } from '$app/state'
interface Props {
ref?: string
@@ -47,7 +47,7 @@
async function logIn() {
data.loading = true
clearErrorScope($page.route.id)
clearErrorScope(page.route.id)
try {
data.instance = data.instance.trim()
@@ -83,7 +83,7 @@
: `_${data.attempts + 1}`),
)
: errorMessage(error),
scope: $page.route.id!,
scope: page.route.id!,
})
data.attempts++
}
@@ -108,7 +108,7 @@
})}
</Note>
{/if}
<ErrorContainer class="pt-2" scope={$page.route.id} />
<ErrorContainer class="pt-2" scope={page.route.id} />
</div>
<div class="flex flex-row w-full items-center gap-2">
<TextInput