refactor: use relative TS path
This commit is contained in:
@@ -7,10 +7,10 @@ import { useSession } from 'next-auth/react';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
import { useConfigContext } from '../../config/provider';
|
||||
import { MIN_WIDTH_MOBILE } from '../../constants/constants';
|
||||
import { humanFileSize } from '../../tools/humanFileSize';
|
||||
import { AppIntegrationType } from '../../types/app';
|
||||
import { useConfigContext } from '~/config/provider';
|
||||
import { MIN_WIDTH_MOBILE } from '~/constants/constants';
|
||||
import { humanFileSize } from '~/tools/humanFileSize';
|
||||
import { AppIntegrationType } from '~/types/app';
|
||||
import {
|
||||
useGetUsenetInfo,
|
||||
usePauseUsenetQueueMutation,
|
||||
|
||||
@@ -19,8 +19,8 @@ import { useTranslation } from 'next-i18next';
|
||||
import { FunctionComponent, useState } from 'react';
|
||||
|
||||
import { useGetUsenetHistory } from '../dashDot/api';
|
||||
import { parseDuration } from '../../tools/client/parseDuration';
|
||||
import { humanFileSize } from '../../tools/humanFileSize';
|
||||
import { parseDuration } from '~/tools/client/parseDuration';
|
||||
import { humanFileSize } from '~/tools/humanFileSize';
|
||||
|
||||
dayjs.extend(duration);
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import duration from 'dayjs/plugin/duration';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import { FunctionComponent, useState } from 'react';
|
||||
|
||||
import { humanFileSize } from '../../tools/humanFileSize';
|
||||
import { humanFileSize } from '~/tools/humanFileSize';
|
||||
import { useGetUsenetDownloads } from '../dashDot/api';
|
||||
|
||||
dayjs.extend(duration);
|
||||
|
||||
Reference in New Issue
Block a user