mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
optimized imports
This commit is contained in:
parent
68bab520df
commit
77d59625d1
26 changed files with 6 additions and 49 deletions
|
@ -6,7 +6,6 @@ import { EMPTY_USER } from '~/constants/auth';
|
|||
import { useUser } from '~/hooks/auth/useUser';
|
||||
import { IUser } from '~/types/auth';
|
||||
|
||||
|
||||
const UserContext = createContext<IUser>(EMPTY_USER);
|
||||
|
||||
export const UserContextProvider: FC = observer(({ children }) => {
|
||||
|
|
|
@ -1,12 +1,4 @@
|
|||
import React, {
|
||||
createContext,
|
||||
FC,
|
||||
useCallback,
|
||||
useContext,
|
||||
useEffect,
|
||||
useRef,
|
||||
useState,
|
||||
} from 'react';
|
||||
import React, { createContext, FC, useCallback, useContext, useEffect, useRef, useState } from 'react';
|
||||
|
||||
import { PlayerState } from '~/constants/player';
|
||||
import { IFile } from '~/types';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue