Removed Unauthenticated method from app.rs
This commit is contained in:
1 parent
ade13e711f
commit
824b6d4be7
1 file changed
-8
@@ -75,14 +75,6 @@ pub fn App() -> impl IntoView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[component]
|
|
||||||
pub fn Unauthenticated() -> impl IntoView {
|
|
||||||
view! {
|
|
||||||
<p>"Error 401: Unauthorized"</p>
|
|
||||||
<LoginLink class="text-login">"Sign in"</LoginLink>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[component]
|
#[component]
|
||||||
pub fn AuthErrorView() -> impl IntoView {
|
pub fn AuthErrorView() -> impl IntoView {
|
||||||
let auth = use_context::<AuthSignal>().expect("AuthError: RwSignal<AuthStore> was not found");
|
let auth = use_context::<AuthSignal>().expect("AuthError: RwSignal<AuthStore> was not found");
|
||||||
|
|||||||
Reference in new issue
Block a user