refactor: absolute imports with path alias (#2960) [skip ci]

This commit is contained in:
Ryan Cohen
2022-08-22 11:02:46 +09:00
committed by GitHub
parent 4b855b8114
commit c6a133d4e5
317 changed files with 1741 additions and 1665 deletions

View File

@@ -1,5 +1,5 @@
import DiscoverMovieGenre from '@app/components/Discover/DiscoverMovieGenre';
import type { NextPage } from 'next';
import DiscoverMovieGenre from '../../../../../components/Discover/DiscoverMovieGenre';
const DiscoverMoviesGenrePage: NextPage = () => {
return <DiscoverMovieGenre />;

View File

@@ -1,5 +1,5 @@
import MovieGenreList from '@app/components/Discover/MovieGenreList';
import type { NextPage } from 'next';
import MovieGenreList from '../../../components/Discover/MovieGenreList';
const MovieGenresPage: NextPage = () => {
return <MovieGenreList />;

View File

@@ -1,5 +1,5 @@
import DiscoverMovies from '@app/components/Discover/DiscoverMovies';
import type { NextPage } from 'next';
import DiscoverMovies from '../../../components/Discover/DiscoverMovies';
const DiscoverMoviesPage: NextPage = () => {
return <DiscoverMovies />;

View File

@@ -1,5 +1,5 @@
import DiscoverMovieLanguage from '@app/components/Discover/DiscoverMovieLanguage';
import type { NextPage } from 'next';
import DiscoverMovieLanguage from '../../../../../components/Discover/DiscoverMovieLanguage';
const DiscoverMovieLanguagePage: NextPage = () => {
return <DiscoverMovieLanguage />;

View File

@@ -1,5 +1,5 @@
import DiscoverMovieStudio from '@app/components/Discover/DiscoverStudio';
import type { NextPage } from 'next';
import DiscoverMovieStudio from '../../../../../components/Discover/DiscoverStudio';
const DiscoverMoviesStudioPage: NextPage = () => {
return <DiscoverMovieStudio />;

View File

@@ -1,5 +1,5 @@
import UpcomingMovies from '@app/components/Discover/Upcoming';
import type { NextPage } from 'next';
import UpcomingMovies from '../../../components/Discover/Upcoming';
const UpcomingMoviesPage: NextPage = () => {
return <UpcomingMovies />;

View File

@@ -1,5 +1,5 @@
import Trending from '@app/components/Discover/Trending';
import type { NextPage } from 'next';
import Trending from '../../components/Discover/Trending';
const TrendingPage: NextPage = () => {
return <Trending />;

View File

@@ -1,5 +1,5 @@
import DiscoverTvGenre from '@app/components/Discover/DiscoverTvGenre';
import type { NextPage } from 'next';
import DiscoverTvGenre from '../../../../../components/Discover/DiscoverTvGenre';
const DiscoverTvGenrePage: NextPage = () => {
return <DiscoverTvGenre />;

View File

@@ -1,5 +1,5 @@
import TvGenreList from '@app/components/Discover/TvGenreList';
import type { NextPage } from 'next';
import TvGenreList from '../../../components/Discover/TvGenreList';
const TvGenresPage: NextPage = () => {
return <TvGenreList />;

View File

@@ -1,5 +1,5 @@
import DiscoverTv from '@app/components/Discover/DiscoverTv';
import type { NextPage } from 'next';
import DiscoverTv from '../../../components/Discover/DiscoverTv';
const DiscoverTvPage: NextPage = () => {
return <DiscoverTv />;

View File

@@ -1,5 +1,5 @@
import DiscoverTvLanguage from '@app/components/Discover/DiscoverTvLanguage';
import type { NextPage } from 'next';
import DiscoverTvLanguage from '../../../../../components/Discover/DiscoverTvLanguage';
const DiscoverTvLanguagePage: NextPage = () => {
return <DiscoverTvLanguage />;

View File

@@ -1,5 +1,5 @@
import DiscoverNetwork from '@app/components/Discover/DiscoverNetwork';
import type { NextPage } from 'next';
import DiscoverNetwork from '../../../../../components/Discover/DiscoverNetwork';
const DiscoverTvNetworkPage: NextPage = () => {
return <DiscoverNetwork />;

View File

@@ -1,5 +1,5 @@
import DiscoverTvUpcoming from '@app/components/Discover/DiscoverTvUpcoming';
import type { NextPage } from 'next';
import DiscoverTvUpcoming from '../../../components/Discover/DiscoverTvUpcoming';
const DiscoverTvPage: NextPage = () => {
return <DiscoverTvUpcoming />;

View File

@@ -1,5 +1,5 @@
import DiscoverWatchlist from '@app/components/Discover/DiscoverWatchlist';
import type { NextPage } from 'next';
import DiscoverWatchlist from '../../components/Discover/DiscoverWatchlist';
const WatchlistPage: NextPage = () => {
return <DiscoverWatchlist />;