Skip to content

Commit e177b43

Browse files
committed
場所を変えた
1 parent db83d52 commit e177b43

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

web/app/chat/page.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ import RoomList from "~/components/chat/RoomList";
88
import { RoomWindow } from "~/components/chat/RoomWindow";
99
import FullScreenCircularProgress from "~/components/common/FullScreenCircularProgress";
1010

11+
export default function Chat() {
12+
return (
13+
<Suspense fallback={<FullScreenCircularProgress />}>
14+
<ChatListContent />
15+
</Suspense>
16+
);
17+
}
18+
1119
function ChatListContent() {
1220
const searchParams = useSearchParams();
1321

@@ -28,11 +36,3 @@ function ChatListContent() {
2836
<RoomList roomsData={state.data} />
2937
);
3038
}
31-
32-
export default function Chat() {
33-
return (
34-
<Suspense fallback={<FullScreenCircularProgress />}>
35-
<ChatListContent />
36-
</Suspense>
37-
);
38-
}

0 commit comments

Comments
 (0)