From 185514417329a6abea519f57f5a60c7ad9c1c1e1 Mon Sep 17 00:00:00 2001 From: VictoryPashkova Date: Sat, 22 Jun 2024 13:02:54 +0600 Subject: [PATCH] chore: fix linting issues --- frontend/src/components/Footer/index.jsx | 12 +- .../src/components/Forms/AvatarChangeForm.jsx | 4 +- .../components/Forms/ChangePasswordForm.jsx | 4 +- .../components/Forms/ForgotPasswordForm.jsx | 4 +- .../components/Forms/GithubSignInButton.jsx | 4 +- .../src/components/Forms/GuestSignUpForm.jsx | 4 +- .../Forms/PasswordVisibilityButton.jsx | 12 +- .../components/Forms/ResetPasswordForm.jsx | 4 +- frontend/src/components/Forms/SignInForm.jsx | 4 +- frontend/src/components/Forms/SignUpForm.jsx | 4 +- .../components/Forms/UpdateAccountForm.jsx | 4 +- .../Modals/AttemptDuplicateSnippet.jsx | 8 +- .../src/components/Modals/ChangeAvatar.jsx | 4 +- .../Modals/DuplicateSnippetModal.jsx | 16 +- .../src/components/Modals/InDevelopment.jsx | 4 +- frontend/src/components/Modals/NewSnippet.jsx | 8 +- .../src/components/Modals/RemoveAccount.jsx | 7 +- .../src/components/Modals/RemoveAvatar.jsx | 4 +- .../src/components/Modals/ShareSnippet.jsx | 12 +- frontend/src/components/Modals/SignIn.jsx | 12 +- frontend/src/components/Modals/SignUp.jsx | 16 +- .../components/Modals/SnippetUnavailable.jsx | 8 +- .../src/components/Navigation/AuthButtons.jsx | 4 +- .../src/components/Navigation/GuestMenu.jsx | 8 +- .../Navigation/LanguageSelector.jsx | 8 +- .../components/Navigation/ThemeSelector.jsx | 4 +- .../src/components/Navigation/UserMenu.jsx | 8 +- frontend/src/components/Navigation/index.jsx | 6 +- frontend/src/pages/404/index.jsx | 16 +- frontend/src/pages/embed/index.jsx | 14 +- frontend/src/pages/forgot-password/index.jsx | 8 +- frontend/src/pages/landing/Footer.jsx | 4 +- frontend/src/pages/landing/Header.jsx | 8 +- frontend/src/pages/landing/Landing.jsx | 7 +- frontend/src/pages/old-landing/index.jsx | 8 +- frontend/src/pages/profile/NewSnippetForm.jsx | 13 +- frontend/src/pages/profile/SnippetCard.jsx | 24 +- frontend/src/pages/settings/index.jsx | 8 +- frontend/src/pages/signin/index.jsx | 8 +- frontend/src/pages/signup/index.jsx | 12 +- frontend/src/pages/snippet/ActionsToolbar.jsx | 8 +- frontend/src/pages/snippet/FileToolbar.jsx | 4 +- yarn.lock | 1930 ++++++++++------- 43 files changed, 1323 insertions(+), 946 deletions(-) diff --git a/frontend/src/components/Footer/index.jsx b/frontend/src/components/Footer/index.jsx index 2167341c..0b018013 100644 --- a/frontend/src/components/Footer/index.jsx +++ b/frontend/src/components/Footer/index.jsx @@ -6,7 +6,9 @@ import { ReactComponent as Vk } from '../../assets/images/icons/vk.svg'; import classes from './index.module.css'; function Footer() { - const { t: tF, i18n } = useTranslation('translation', { keyPrefix: 'footer' }); + const { t: tF, i18n } = useTranslation('translation', { + keyPrefix: 'footer', + }); const { language } = i18n; return ( @@ -103,9 +105,7 @@ function Footer() {

-
- {tF('doc')} -
+
{tF('doc')}