Skip to content

Commit

Permalink
fix(replay): use new ErrorPage (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed May 28, 2021
1 parent fcd3bc4 commit cb910db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop/renderer-app/src/pages/ReplayPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";
import { LoadingPage } from "flat-components";
import PlayerController from "@netless/player-controller";
import { ipcAsyncByMainWindow, ipcReceive, ipcReceiveRemove } from "../../utils/ipc";
import PageError from "../../PageError";
import { ErrorPage } from "flat-components";
import { RealtimePanel } from "../../components/RealtimePanel";
import { ChatPanelReplay } from "../../components/ChatPanelReplay";
import { OrdinaryRoomInfo } from "../../apiMiddleware/flatServer";
Expand Down Expand Up @@ -177,7 +177,7 @@ export const ReplayPage = observer<ReplayPageProps>(function ReplayPage() {
function renderOverlay(): React.ReactElement | null {
return classRoomReplayStore.error ? (
<div className="replay-overlay">
<PageError />
<ErrorPage />
</div>
) : classRoomReplayStore.isReady ? null : (
<div className="replay-overlay">
Expand Down

0 comments on commit cb910db

Please sign in to comment.