test deploy

This commit is contained in:
Romulus21
2024-10-19 15:51:53 +02:00
parent c931845899
commit 4c4227df4d
5 changed files with 9 additions and 737 deletions

View File

@@ -1,6 +1,6 @@
use leptos::*;
//use leptos_meta::*;
use leptos_router::*;
//use leptos_router::*;
#[component]
pub fn Links() -> impl IntoView {

View File

@@ -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">