mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-03 04:08:25 +00:00
♻️ refactor(helpers): refactor the helpers folder and related imports
This commit is contained in:
@@ -7,8 +7,7 @@ import { ToastContainer } from 'react-toastify';
|
||||
import React, { useContext, useEffect } from 'react';
|
||||
import { useStyle } from '../context/Style/index.js';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { API, getLogo, getSystemName, showError } from '../helpers/index.js';
|
||||
import { setStatusData } from '../helpers/data.js';
|
||||
import { API, getLogo, getSystemName, showError, setStatusData } from '../helpers';
|
||||
import { UserContext } from '../context/User/index.js';
|
||||
import { StatusContext } from '../context/Status/index.js';
|
||||
import { useLocation } from 'react-router-dom';
|
||||
|
||||
Reference in New Issue
Block a user