test deploy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use leptos::*;
|
||||
//use leptos_meta::*;
|
||||
use leptos_router::*;
|
||||
//use leptos_router::*;
|
||||
|
||||
#[component]
|
||||
pub fn Links() -> impl IntoView {
|
||||
|
||||
@@ -19,8 +19,8 @@ pub async fn add_value(device: String, value: String) -> Result<(), ServerFnErro
|
||||
#[component]
|
||||
pub fn FormValues() -> impl IntoView {
|
||||
let value_action = create_server_action::<ValueAction>();
|
||||
let value = value_action.value();
|
||||
let has_error = move || value.with(|val| matches!(val, Some(Err(_))));
|
||||
//let value = value_action.value();
|
||||
//let has_error = move || value.with(|val| matches!(val, Some(Err(_))));
|
||||
|
||||
view! {
|
||||
<div class="my-0 mx-auto w-72 text-center">
|
||||
|
||||
Reference in New Issue
Block a user