diff --git a/src/client/hosts.rs b/src/client/hosts.rs index 55bb342..00b2e5a 100644 --- a/src/client/hosts.rs +++ b/src/client/hosts.rs @@ -32,7 +32,7 @@ const PER_PAGE_OPTIONS: &[(i64, &str)] = &[ #[component] fn AddHostModal( create_action: ServerAction, - networks_res: Resource, ServerFnError>>, + networks_res: LocalResource, ServerFnError>>, show_modal: RwSignal, ) -> impl IntoView { // Close the modal automatically after a successful creation. @@ -70,7 +70,7 @@ fn AddHostModal(