+
+ {onAccept && (
+ // biome-ignore lint/a11y/useButtonType:
+
+ )}
+ {onReject && (
+ // biome-ignore lint/a11y/useButtonType:
+
+ )}
+ {onCancel && (
+ // biome-ignore lint/a11y/useButtonType:
+
+ )}
+ {hasDots && (
-
- )}
-
- );
-}
-
-function ActionMenu({
- onAccept,
- onReject,
- onCancel,
- id,
-}: {
- onAccept?: (id: number) => void;
- onReject?: (id: number) => void;
- onCancel?: (id: number) => void;
- id: number;
-}) {
- return (
-
- {onAccept && (
-
- )}
- {onReject && (
-
- )}
- {onCancel && (
-
- )}
+ )}
+
);
}
diff --git a/web/components/match/matching.tsx b/web/components/match/matching.tsx
index 140515a0..6e402190 100644
--- a/web/components/match/matching.tsx
+++ b/web/components/match/matching.tsx
@@ -1,4 +1,3 @@
-import { Box, List } from "@mui/material";
import { deleteMatch } from "~/api/match";
import { useMatched } from "~/api/user";
import FullScreenCircularProgress from "../common/FullScreenCircularProgress";
@@ -13,13 +12,8 @@ export default function Matchings() {
const { openModal } = useModal();
return (
-