mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-02 12:48:45 -05:00
refactor: absolute imports with path alias (#2960) [skip ci]
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import Button from '@app/components/Common/Button';
|
||||
import globalMessages from '@app/i18n/globalMessages';
|
||||
import { CheckIcon, TrashIcon } from '@heroicons/react/solid';
|
||||
import axios from 'axios';
|
||||
import { defineMessages, useIntl } from 'react-intl';
|
||||
import { mutate } from 'swr';
|
||||
import globalMessages from '../../i18n/globalMessages';
|
||||
import Button from '../Common/Button';
|
||||
|
||||
interface ErrorCardProps {
|
||||
id: number;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import TitleCard from '@app/components/TitleCard';
|
||||
import { Permission, useUser } from '@app/hooks/useUser';
|
||||
import type { MovieDetails } from '@server/models/Movie';
|
||||
import type { TvDetails } from '@server/models/Tv';
|
||||
import { useInView } from 'react-intersection-observer';
|
||||
import useSWR from 'swr';
|
||||
import TitleCard from '.';
|
||||
import type { MovieDetails } from '../../../server/models/Movie';
|
||||
import type { TvDetails } from '../../../server/models/Tv';
|
||||
import { Permission, useUser } from '../../hooks/useUser';
|
||||
|
||||
export interface TmdbTitleCardProps {
|
||||
id: number;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
import Spinner from '@app/assets/spinner.svg';
|
||||
import Button from '@app/components/Common/Button';
|
||||
import CachedImage from '@app/components/Common/CachedImage';
|
||||
import RequestModal from '@app/components/RequestModal';
|
||||
import ErrorCard from '@app/components/TitleCard/ErrorCard';
|
||||
import Placeholder from '@app/components/TitleCard/Placeholder';
|
||||
import Transition from '@app/components/Transition';
|
||||
import { useIsTouch } from '@app/hooks/useIsTouch';
|
||||
import { Permission, useUser } from '@app/hooks/useUser';
|
||||
import globalMessages from '@app/i18n/globalMessages';
|
||||
import { withProperties } from '@app/utils/typeHelpers';
|
||||
import { DownloadIcon } from '@heroicons/react/outline';
|
||||
import { BellIcon, CheckIcon, ClockIcon } from '@heroicons/react/solid';
|
||||
import { MediaStatus } from '@server/constants/media';
|
||||
import type { MediaType } from '@server/models/Search';
|
||||
import Link from 'next/link';
|
||||
import { useCallback, useEffect, useState } from 'react';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { MediaStatus } from '../../../server/constants/media';
|
||||
import type { MediaType } from '../../../server/models/Search';
|
||||
import Spinner from '../../assets/spinner.svg';
|
||||
import { useIsTouch } from '../../hooks/useIsTouch';
|
||||
import { Permission, useUser } from '../../hooks/useUser';
|
||||
import globalMessages from '../../i18n/globalMessages';
|
||||
import { withProperties } from '../../utils/typeHelpers';
|
||||
import Button from '../Common/Button';
|
||||
import CachedImage from '../Common/CachedImage';
|
||||
import RequestModal from '../RequestModal';
|
||||
import Transition from '../Transition';
|
||||
import ErrorCard from './ErrorCard';
|
||||
import Placeholder from './Placeholder';
|
||||
|
||||
interface TitleCardProps {
|
||||
id: number;
|
||||
|
||||
Reference in New Issue
Block a user