Skip to content

Commit

Permalink
Linting issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-jha-mech committed Oct 27, 2023
1 parent 72a65f3 commit 11ad503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/screens/ForgotPassword/ForgotPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ import {
FORGOT_PASSWORD_MUTATION,
GENERATE_OTP_MUTATION,
} from 'GraphQl/Mutations/mutations';
import { ReactComponent as TalawaLogo } from 'assets/svgs/talawa.svg';
import { ReactComponent as KeyLogo } from 'assets/svgs/key.svg';

import ArrowRightAlt from '@mui/icons-material/ArrowRightAlt';
import Loader from 'components/Loader/Loader';
import { Form } from 'react-bootstrap';
import Button from 'react-bootstrap/Button';
import { useTranslation } from 'react-i18next';
import { errorHandler } from 'utils/errorHandler';
import styles from './ForgotPassword.module.css';
import { style } from '@mui/system';
import ArrowRightAlt from '@mui/icons-material/ArrowRightAlt';

const ForgotPassword = (): JSX.Element => {
const { t } = useTranslation('translation', {
Expand All @@ -37,9 +35,7 @@ const ForgotPassword = (): JSX.Element => {
confirmNewPassword: '',
});

const [otp, { loading: otpLoading, error }] = useMutation(
GENERATE_OTP_MUTATION
);
const [otp, { loading: otpLoading }] = useMutation(GENERATE_OTP_MUTATION);
const [forgotPassword, { loading: forgotPasswordLoading }] = useMutation(
FORGOT_PASSWORD_MUTATION
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import i18nForTest from 'utils/i18nForTest';
import dayjs from 'dayjs';
import { toast } from 'react-toastify';
import userEvent from '@testing-library/user-event';
import { debug } from 'jest-preview';

async function wait(ms = 100): Promise<void> {
await act(() => {
Expand Down

0 comments on commit 11ad503

Please sign in to comment.