diff --git a/examples/server_fns_axum/src/app.rs b/examples/server_fns_axum/src/app.rs index 982cc1dd4..b29d4f4e2 100644 --- a/examples/server_fns_axum/src/app.rs +++ b/examples/server_fns_axum/src/app.rs @@ -380,7 +380,7 @@ pub fn FileUpload() -> impl IntoView {

{move || { - if upload_action.input().read().is_none() && upload_action.value().read().is_none() + if upload_action.input_local().read().is_none() && upload_action.value().read().is_none() { "Upload a file.".to_string() } else if upload_action.pending().get() {