fix: Resolve badge search reactivity and SSR issues
This commit fixes several issues with the new badge search functionality. It resolves a 500 Internal Error by moving the Dexie liveQuery into an onMount block to prevent server-side execution. It also fixes a Svelte 5 reactivity issue by using a more explicit subscription pattern for the liveQuery and by correctly accessing state variables in the template. The badge search results are now correctly displayed.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<script lang="ts">
|
||||
// Page for badge statistics
|
||||
</script>
|
||||
|
||||
<h1 class="h1">Badge Stats</h1>
|
||||
|
||||
<p>This page will show statistics for badges.</p>
|
||||
Reference in New Issue
Block a user