Skip to content

Commit 4ed657a

Browse files
committed
muiを削除
1 parent 04be519 commit 4ed657a

File tree

3 files changed

+12
-16
lines changed

3 files changed

+12
-16
lines changed

web/components/match/matching.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"use client";
2-
import { Box, List } from "@mui/material";
32
import { deleteMatch } from "~/api/match";
43
import { useMatched } from "~/api/user";
54
import FullScreenCircularProgress from "../common/FullScreenCircularProgress";
@@ -14,7 +13,7 @@ export default function Matchings() {
1413
const { openModal } = useModal();
1514

1615
return (
17-
<Box>
16+
<div>
1817
<p
1918
style={{
2019
marginLeft: "40px",
@@ -34,7 +33,7 @@ export default function Matchings() {
3433
) : error ? (
3534
<p>Error: {error.message}</p>
3635
) : (
37-
<List>
36+
<ul>
3837
{data?.map((matchedUser) => (
3938
<HumanListItem
4039
key={matchedUser.id}
@@ -46,8 +45,8 @@ export default function Matchings() {
4645
hasDots
4746
/>
4847
))}
49-
</List>
48+
</ul>
5049
)}
51-
</Box>
50+
</div>
5251
);
5352
}

web/components/match/myRequests.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"use client";
2-
import { Box } from "@mui/material";
3-
import { List } from "@mui/material";
42
import * as request from "~/api/request";
53
import { usePendingFromMe } from "~/api/user";
64
import FullScreenCircularProgress from "../common/FullScreenCircularProgress";
@@ -12,7 +10,7 @@ export default function MyReq() {
1210
const { openModal } = useModal();
1311

1412
return (
15-
<Box>
13+
<div>
1614
<p
1715
style={{
1816
marginLeft: "40px",
@@ -27,7 +25,7 @@ export default function MyReq() {
2725
) : state.error ? (
2826
<p>Error: {state.error.message}</p>
2927
) : (
30-
<List>
28+
<ul>
3129
{state.data?.map((receivingUser) => (
3230
<HumanListItem
3331
key={receivingUser.id}
@@ -40,8 +38,8 @@ export default function MyReq() {
4038
}}
4139
/>
4240
))}
43-
</List>
41+
</ul>
4442
)}
45-
</Box>
43+
</div>
4644
);
4745
}

web/components/match/othersRequests.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"use client";
2-
import { Box, List } from "@mui/material";
32
import request from "~/api/request";
43
import { usePendingToMe } from "~/api/user";
54
import FullScreenCircularProgress from "../common/FullScreenCircularProgress";
@@ -15,7 +14,7 @@ export default function OthersReq() {
1514
const { openModal } = useModal();
1615

1716
return (
18-
<Box>
17+
<div>
1918
<p
2019
style={{
2120
marginLeft: "40px",
@@ -30,7 +29,7 @@ export default function OthersReq() {
3029
) : error ? (
3130
<p>Error: {error.message}</p>
3231
) : (
33-
<List>
32+
<ul>
3433
{data?.map((sendingUser) => (
3534
<HumanListItem
3635
key={sendingUser.id}
@@ -42,8 +41,8 @@ export default function OthersReq() {
4241
onReject={() => request.reject(sendingUser.id).then(reload)}
4342
/>
4443
))}
45-
</List>
44+
</ul>
4645
)}
47-
</Box>
46+
</div>
4847
);
4948
}

0 commit comments

Comments
 (0)