diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json
index 336a8237..62db14b5 100644
--- a/public/locales/en/translation.json
+++ b/public/locales/en/translation.json
@@ -405,6 +405,7 @@
"Upload userpic": "Upload userpic",
"Upload video": "Upload video",
"Uploading image": "Uploading image",
+ "User with this email already exists": "User with this email already exists",
"Username": "Username",
"Userpic": "Userpic",
"Users": "Users",
diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json
index a06c7c81..b90b3abb 100644
--- a/public/locales/ru/translation.json
+++ b/public/locales/ru/translation.json
@@ -427,6 +427,7 @@
"Upload userpic": "Загрузить аватар",
"Upload video": "Загрузить видео",
"Uploading image": "Загружаем изображение",
+ "User with this email already exists": "Пользователь с таким email уже существует",
"Username": "Имя пользователя",
"Userpic": "Аватар",
"Users": "Пользователи",
diff --git a/src/components/App.tsx b/src/components/App.tsx
index d04fef14..cef8c3f9 100644
--- a/src/components/App.tsx
+++ b/src/components/App.tsx
@@ -93,11 +93,11 @@ export const App = (props: Props) => {
let is404 = props.is404
createEffect(() => {
- if (!searchParams().modal) {
+ if (!searchParams().m) {
hideModal()
}
- const modal = MODALS[searchParams().modal]
+ const modal = MODALS[searchParams().m]
if (modal) {
showModal(modal)
}
diff --git a/src/components/Article/CommentsTree.tsx b/src/components/Article/CommentsTree.tsx
index b0bb86f4..436b5988 100644
--- a/src/components/Article/CommentsTree.tsx
+++ b/src/components/Article/CommentsTree.tsx
@@ -172,11 +172,11 @@ export const CommentsTree = (props: Props) => {
fallback={
diff --git a/src/components/AuthGuard/AuthGuard.tsx b/src/components/AuthGuard/AuthGuard.tsx
index a7ef1ff8..86b10f95 100644
--- a/src/components/AuthGuard/AuthGuard.tsx
+++ b/src/components/AuthGuard/AuthGuard.tsx
@@ -26,7 +26,7 @@ export const AuthGuard = (props: Props) => {
changeSearchParams(
{
source: 'authguard',
- modal: 'auth',
+ m: 'auth',
},
true,
)
diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx
index f8100e00..587dd564 100644
--- a/src/components/Author/AuthorCard/AuthorCard.tsx
+++ b/src/components/Author/AuthorCard/AuthorCard.tsx
@@ -142,7 +142,7 @@ export const AuthorCard = (props: Props) => {
>
0}>
-
+
{(f) => (
@@ -155,7 +155,7 @@ export const AuthorCard = (props: Props) => {
0}>
-
+
{(f) => {
if ('name' in f) {
diff --git a/src/components/Nav/AuthModal/LoginForm.tsx b/src/components/Nav/AuthModal/LoginForm.tsx
index 014f8bcf..7e2b1de7 100644
--- a/src/components/Nav/AuthModal/LoginForm.tsx
+++ b/src/components/Nav/AuthModal/LoginForm.tsx
@@ -66,7 +66,7 @@ export const LoginForm = () => {
setIsEmailNotConfirmed(false)
setSubmitError('')
changeSearchParams({ mode: 'forgot-password' })
- // NOTE: temporary solition, needs logix in authorizer
+ // NOTE: temporary solution, needs logic in authorizer
/* FIXME:
const { actions: { authorizer } } = useSession()
const result = await authorizer().verifyEmail({ token })
@@ -140,9 +140,9 @@ export const LoginForm = () => {
@@ -169,7 +169,7 @@ export const LoginForm = () => {
- handlePasswordInput(value)} />
+ handlePasswordInput(value)} />