File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
frontend/common/src/utils/client Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ where
165165 E :: ResponseBody : Serialize + DeserializeOwned ,
166166{
167167 async fn from_req (
168- req : leptos:: server_fn:: request:: BrowserMockReq ,
168+ _ : leptos:: server_fn:: request:: BrowserMockReq ,
169169 ) -> Result < Self , ServerFnError < ErrorType > > {
170170 unreachable ! ( )
171171 }
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ use std::{
77
88#[ cfg( not( target_arch = "wasm32" ) ) ]
99use matchit:: Router ;
10+ #[ cfg( not( target_arch = "wasm32" ) ) ]
1011use models:: prelude:: * ;
1112#[ cfg( not( target_arch = "wasm32" ) ) ]
12- use serde:: { de:: DeserializeOwned , Serialize } ;
13+ use serde:: { Serialize , de:: DeserializeOwned } ;
1314
1415pub use self :: { make_request:: make_request, stream_request:: stream_request} ;
1516
@@ -33,6 +34,7 @@ pub static API_CALL_REGISTRY: ApiCallRegistryData = OnceLock::new();
3334/// backend so that it can be used by the frontend. This is used internally and
3435/// should not be used by any other part of the code.
3536#[ cfg( not( target_arch = "wasm32" ) ) ]
37+ #[ doc( hidden) ]
3638pub fn register_api_call < E > ( )
3739where
3840 E : ApiEndpoint ,
You can’t perform that action at this time.
0 commit comments