mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-03 00:26:41 +07:00
(nextjs) added eslint and import sorting
This commit is contained in:
parent
e5f8d5a551
commit
0838bf7ee6
330 changed files with 1576 additions and 896 deletions
src/hooks/profile
|
@ -1,8 +1,10 @@
|
|||
import useSWR from 'swr';
|
||||
import { API } from '~/constants/api';
|
||||
import { apiAuthGetUserProfile } from '~/api/auth';
|
||||
import { EMPTY_USER } from '~/constants/auth';
|
||||
import { useCallback } from 'react';
|
||||
|
||||
import useSWR from 'swr';
|
||||
|
||||
import { apiAuthGetUserProfile } from '~/api/auth';
|
||||
import { API } from '~/constants/api';
|
||||
import { EMPTY_USER } from '~/constants/auth';
|
||||
import { IUser } from '~/types/auth';
|
||||
|
||||
const getKey = (username?: string): string | null => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue