fix: erroneous reactivity warning at form.rs:96 (#1142)

This commit is contained in:
Greg Johnston 2023-06-04 20:09:21 -04:00 committed by GitHub
parent 53efcb989c
commit 4ade062cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ where
) )
.unwrap_throw(); .unwrap_throw();
let action = use_resolved_path(cx, move || action.clone()) let action = use_resolved_path(cx, move || action.clone())
.get() .get_untracked()
.unwrap_or_default(); .unwrap_or_default();
// multipart POST (setting Context-Type breaks the request) // multipart POST (setting Context-Type breaks the request)
if method == "post" && enctype == "multipart/form-data" { if method == "post" && enctype == "multipart/form-data" {