File tree Expand file tree Collapse file tree 2 files changed +10
-24
lines changed
Expand file tree Collapse file tree 2 files changed +10
-24
lines changed Original file line number Diff line number Diff line change 11"use client" ;
22
3- import { Typography } from "@mui/material" ;
43import { useSearchParams } from "next/navigation" ;
54import { Suspense } from "react" ;
65import { 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 className = "decoration-red "> Error: { state . error . message } </ p >
3534 ) : (
3635 < RoomList roomsData = { state . data } />
3736 ) ;
Original file line number Diff line number Diff line change 1- import { Typography } from "@mui/material" ;
2- import { Box } from "@mui/system" ;
31import Link from "next/link" ;
42import { useMyID } from "~/api/user" ;
53import FullScreenCircularProgress from "~/components/common/FullScreenCircularProgress" ;
@@ -9,37 +7,26 @@ export default function Step4() {
97 const { state } = useMyID ( ) ;
108 return (
119 < >
12- < Box >
10+ < div >
1311 { state . current === "loading" ? (
1412 < FullScreenCircularProgress />
1513 ) : state . current === "error" ? (
1614 < p > Error: { state . error . message } </ p >
1715 ) : (
18- < Box mt = { 2 } mx = { 2 } display = "flex" flexDirection = "column" gap = { 2 } >
19- < Typography variant = "h6" component = "h1" >
20- 授業情報の登録 (スキップ可)
21- </ Typography >
22- < Box >
16+ < div className = "mx-4 mt-4 flex flex-col gap-4" >
17+ < h1 > 授業情報の登録 (スキップ可)</ h1 >
18+ < div >
2319 < EditableCoursesTable userId = { state . data } />
24- </ Box >
25- </ Box >
20+ </ div >
21+ </ div >
2622 ) }
27- </ Box >
28- < Box
29- p = { 3 }
30- sx = { {
31- position : "fixed" ,
32- display : "flex" ,
33- justifyContent : "space-between" ,
34- bottom : 0 ,
35- width : "100%" ,
36- } }
37- >
23+ </ div >
24+ < div className = "b-0 fixed flex w-full justify-between p-6" >
3825 < span />
3926 < Link href = "/tutorial" className = "btn btn-primary" >
4027 次へ
4128 </ Link >
42- </ Box >
29+ </ div >
4330 </ >
4431 ) ;
4532}
You can’t perform that action at this time.
0 commit comments