fix: unreactive sort options

This commit is contained in:
James Xylight committed 2025-02-16 19:12:02 -08:00
1 parent a8669e7c45
commit b5ce17308a
1 file changed
+2 -1
+2 -1
View File
@@ -45,7 +45,8 @@
type Result = PostView | CommentView | PersonView | CommunityView
let { data = $bindable() } = $props()
let { data: passedData } = $props()
let data = $state(passedData)
let query = $state(data.query || '')
let searchElement: HTMLInputElement | undefined = $state()