refactor: rename Error components to ErrorPage (#2668)

This commit is contained in:
Gauthier
2026-03-10 21:40:05 +01:00
committed by GitHub
parent 6aa4745285
commit d5c5f1ff79
35 changed files with 71 additions and 71 deletions

View File

@@ -7,7 +7,7 @@ import Slider from '@app/components/Slider';
import TmdbTitleCard from '@app/components/TitleCard/TmdbTitleCard';
import ProfileHeader from '@app/components/UserProfile/ProfileHeader';
import { Permission, UserType, useUser } from '@app/hooks/useUser';
import Error from '@app/pages/_error';
import ErrorPage from '@app/pages/_error';
import defineMessages from '@app/utils/defineMessages';
import { ArrowRightCircleIcon } from '@heroicons/react/24/outline';
import type { WatchlistResponse } from '@server/interfaces/api/discoverInterfaces';
@@ -116,7 +116,7 @@ const UserProfile = () => {
}
if (!user) {
return <Error statusCode={404} />;
return <ErrorPage statusCode={404} />;
}
const watchlistSliderTitle = intl.formatMessage(