Implemented user authentication.
This commit is contained in:
+1
-2
@@ -1,5 +1,3 @@
|
||||
use std::ops::Deref;
|
||||
use leptos::*;
|
||||
use crate::locales::catalogues::get_dictionary;
|
||||
|
||||
mod catalogues;
|
||||
@@ -10,6 +8,7 @@ pub struct Locales(pub Vec<Option<String>>);
|
||||
pub fn init_locales() {
|
||||
#[cfg(not(feature = "ssr"))]
|
||||
{
|
||||
use leptos::*;
|
||||
let loc = Locales(
|
||||
window()
|
||||
.navigator()
|
||||
|
||||
Reference in New Issue
Block a user