Move "RequestManager" in sub folder
This commit is contained in:
@@ -14,7 +14,7 @@ import { Box } from '@mui/material';
|
||||
import Typography from '@mui/material/Typography';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { IUpdateStatus } from '@/typings';
|
||||
import requestManager from '@/lib/RequestManager';
|
||||
import requestManager from '@/lib/requests/RequestManager.ts';
|
||||
import makeToast from '@/components/util/Toast';
|
||||
|
||||
interface IProgressProps {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
import { useEffect, useState } from 'react';
|
||||
import requestManager from '@/lib/RequestManager';
|
||||
import requestManager from '@/lib/requests/RequestManager.ts';
|
||||
|
||||
const useSubscription = <T>(path: string, callback?: (newValue: T) => boolean | void) => {
|
||||
const [state, setState] = useState<T | undefined>();
|
||||
|
||||
Reference in New Issue
Block a user