Skip to content

Commit 3b228bf

Browse files
committed
delete typo
1 parent bd7142b commit 3b228bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/app/chat/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import { Typography } from "@mui/material";
43
import { useSearchParams } from "next/navigation";
54
import { Suspense } from "react";
65
import { useRoomsOverview } from "~/api/chat/hooks";
@@ -31,7 +30,7 @@ function ChatListContent() {
3130
) : state.current === "loading" ? (
3231
<FullScreenCircularProgress />
3332
) : state.current === "error" ? (
34-
<Typography color="error">Error: {state.error.message}</Typography>
33+
<p color="error">Error: {state.error.message}</p>
3534
) : (
3635
<RoomList roomsData={state.data} />
3736
);

0 commit comments

Comments
 (0)