Clean up imports
All checks were successful
Build Crate / build (push) Successful in 1m47s

This commit is contained in:
2024-08-28 21:55:23 -04:00
parent df0d7d6c0d
commit 1faaf65aad
10 changed files with 41 additions and 71 deletions

View File

@@ -1,20 +1,20 @@
use std::sync::Arc;
use perseus::prelude::*;
use sycamore::prelude::*;
use web_sys::Event;
use crate::{
capsules::{
forgot_password_form::{ForgotPasswordFormProps, FORGOT_PASSWORD_FORM},
login_form::{LoginFormProps, LOGIN_FORM},
},
endpoints::LOGIN,
global_state::AppStateRx,
models::auth::LoginInfo,
state_enums::{GameState, LoginState, OpenState},
state_enums::{GameState, LoginState},
};
cfg_if::cfg_if! {
if #[cfg(client)] {
use crate::{
state_enums::OpenState,
};
}
}
#[derive(Prop)]
pub struct HeaderProps<'a> {
pub game: GameState,