Skip to content

Commit 542a6cc

Browse files
committed
fix: prevent full page reload on file uploading
1 parent 02f57e3 commit 542a6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/client/src/components/upload-content.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
function onInput() {
88
if (formRef) {
9-
formRef.submit();
9+
formRef.requestSubmit();
1010
}
1111
}
1212

0 commit comments

Comments
 (0)