diff --git a/examples/server_fns_axum/src/app.rs b/examples/server_fns_axum/src/app.rs index 6ca32610bd..e3bbe15474 100644 --- a/examples/server_fns_axum/src/app.rs +++ b/examples/server_fns_axum/src/app.rs @@ -12,12 +12,12 @@ use server_fn::{ request::{browser::BrowserRequest, ClientReq, Req}, response::{browser::BrowserResponse, ClientRes, Res}, }; +use std::future::Future; #[cfg(feature = "ssr")] use std::sync::{ atomic::{AtomicU8, Ordering}, Mutex, }; -use std::{fmt::Display, future::Future}; use strum::{Display, EnumString}; use wasm_bindgen::JsCast; use web_sys::{FormData, HtmlFormElement, SubmitEvent}; @@ -103,9 +103,9 @@ pub fn Generic() -> impl IntoView {
"Open your browser devtools to see which endpoints the function below calls."