diff --git a/locales/en/auth.json b/locales/en/auth.json
index 830b66b..abc128a 100644
--- a/locales/en/auth.json
+++ b/locales/en/auth.json
@@ -13,7 +13,6 @@
"newPassword": "Enter your new password",
"confirmPassword": "Confirm your password",
"name": "Name",
- "login": "@Username",
"city": "City (optionally)",
"buttonSignIn": "Sign In",
@@ -35,7 +34,6 @@
"messageEmailEmpty": "Please input your email",
"messageNameEmpty": "Please input your name",
- "messageLoginEmpty": "Please input your login",
"messagePasswordEmpty": "Please input your password",
"messagePasswordLength": "Minimum 8 characters",
"messagePasswordDontMatch": "The passwords don't match",
diff --git a/locales/ru/auth.json b/locales/ru/auth.json
index a77f356..5bafa96 100644
--- a/locales/ru/auth.json
+++ b/locales/ru/auth.json
@@ -13,7 +13,6 @@
"newPassword": "Введите новый пароль",
"confirmPassword": "Повторите пароль",
"name": "Имя",
- "login": "@Юзернейм",
"city": "Город (необязательно)",
"buttonSignIn": "Войти",
@@ -35,7 +34,6 @@
"messageEmailEmpty": "Пожалуйста, введите свой e-mail",
"messageNameEmpty": "Пожалуйста, введите своё имя",
- "messageLoginEmpty": "Пожалуйста, введите свой логин",
"messagePasswordEmpty": "Пожалуйста, введите свой пароль",
"messagePasswordLength": "Минимум 8 символов",
"messagePasswordDontMatch": "Пароли не совпадают",
diff --git a/openapi-config.json b/openapi-config.json
index a05dba8..3f478d3 100644
--- a/openapi-config.json
+++ b/openapi-config.json
@@ -4,5 +4,9 @@
"apiImport": "emptySplitApi",
"outputFile": "./src/services/api/sharebookApi.ts",
"exportName": "sharebookApi",
- "hooks": true
+ "hooks": {
+ "queries": true,
+ "lazyQueries": true,
+ "mutations": true
+ }
}
\ No newline at end of file
diff --git a/src/AppRouter.tsx b/src/AppRouter.tsx
index 2ce501e..7587c91 100644
--- a/src/AppRouter.tsx
+++ b/src/AppRouter.tsx
@@ -1,4 +1,10 @@
-import { BrowserRouter, Route, Routes, StaticRouter } from "react-router";
+import {
+ BrowserRouter,
+ Navigate,
+ Route,
+ Routes,
+ StaticRouter,
+} from "react-router";
import { Home } from "./pages/home/Home.tsx";
import { HeaderComponent } from "./components/Header";
import { Favourites } from "./pages/favourites/Favourites.tsx";
@@ -26,6 +32,7 @@ export function AppRouter({ location }: { location: string }) {