File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 1- import { Box , List } from "@mui/material" ;
21import { deleteMatch } from "~/api/match" ;
32import { useMatched } from "~/api/user" ;
43import FullScreenCircularProgress from "../common/FullScreenCircularProgress" ;
@@ -13,13 +12,8 @@ export default function Matchings() {
1312 const { openModal } = useModal ( ) ;
1413
1514 return (
16- < Box >
17- < p
18- style = { {
19- marginLeft : "40px" ,
20- marginRight : "40px" ,
21- } }
22- >
15+ < div className = "p-4" >
16+ < p className = "mr-10 ml-10 text-lg" >
2317 { data && data . length === 0 && (
2418 < >
2519 誰ともマッチングしていません。
@@ -31,9 +25,9 @@ export default function Matchings() {
3125 { current === "loading" ? (
3226 < FullScreenCircularProgress />
3327 ) : error ? (
34- < p > Error: { error . message } </ p >
28+ < p className = "text-red-500" > Error: { error . message } </ p >
3529 ) : (
36- < List >
30+ < ul className = "mt-4 space-y-4" >
3731 { data ?. map ( ( matchedUser ) => (
3832 < HumanListItem
3933 key = { matchedUser . id }
@@ -45,8 +39,8 @@ export default function Matchings() {
4539 hasDots
4640 />
4741 ) ) }
48- </ List >
42+ </ ul >
4943 ) }
50- </ Box >
44+ </ div >
5145 ) ;
5246}
You can’t perform that action at this time.
0 commit comments