Implement login form error, more clippy fixes
All checks were successful
Build Crate / build (push) Successful in 1m47s

This commit is contained in:
2024-08-28 23:45:10 -04:00
parent 9a42ed5b80
commit aca0b83dd4
4 changed files with 65 additions and 30 deletions

View File

@@ -21,7 +21,7 @@ pub struct HeaderProps {
}
#[component]
pub fn Header<'a, G: Html>(cx: Scope<'a>, props: HeaderProps) -> View<G> {
pub fn Header<G: Html>(cx: Scope, props: HeaderProps) -> View<G> {
// Get global state to get authentication info
let global_state = Reactor::<G>::from_cx(cx).get_global_state::<AppStateRx>(cx);