clear output on error

author
Marijn Besseling <njirambem@gmail.com> · 2026-01-27 19:57 UTC
commit
2c31362df12b037d6d4244940729ba66559f2752
parent
685f02cba2
tree
browse at this commit

1 file changed +1 -0

Blog/Components/Pages/Query.razor.js +1 -0

@@ -38,6 +38,7 @@ export async function onLoad() {
38 38 }
39 39 } catch (e) {
40 40 writeError(e.message)
41 + results.replaceChildren()
41 42 }
42 43 }
43 44 }