mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-04 00:56:40 +07:00
(nextjs) fixed eslint warnings
This commit is contained in:
parent
c469722a86
commit
e5f8d5a551
29 changed files with 56 additions and 59 deletions
|
@ -3,8 +3,6 @@ import { ERRORS } from '~/constants/errors';
|
|||
import { useCallback } from 'react';
|
||||
import { FormikConfig, useFormik } from 'formik';
|
||||
import { IUser } from '~/types/auth';
|
||||
import { showToastSuccess } from '~/utils/toast';
|
||||
import { getRandomPhrase } from '~/constants/phrases';
|
||||
import { showErrorToast } from '~/utils/errors/showToast';
|
||||
import { getValidationErrors } from '~/utils/errors/getValidationErrors';
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import { useAuthStore } from '~/store/auth/useAuthStore';
|
||||
import { useCallback } from 'react';
|
||||
import { apiUserLogin } from '~/api/auth';
|
||||
import { showErrorToast } from '~/utils/errors/showToast';
|
||||
import { getRandomPhrase } from '~/constants/phrases';
|
||||
import { showToastInfo, showToastSuccess } from '~/utils/toast';
|
||||
import { showToastInfo } from '~/utils/toast';
|
||||
|
||||
export const useLoginLogoutRestore = () => {
|
||||
const auth = useAuthStore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue