(false);
@@ -43,7 +45,7 @@ export default function Matched({
const handleDeleteRandomLetterMatching = async () => {
const res = await deleteRandomLetterMatching();
if (res?.status === 200) {
- alert('매칭이 취소되었습니다.');
+ setToastActive({ title: '매칭이 취소되었습니다.', toastType: 'Success' });
navigate(-1);
}
};
diff --git a/src/pages/RandomLetters/components/MatchedLetter.tsx b/src/pages/RandomLetters/components/MatchedLetter.tsx
index 3ff4907..e54546a 100644
--- a/src/pages/RandomLetters/components/MatchedLetter.tsx
+++ b/src/pages/RandomLetters/components/MatchedLetter.tsx
@@ -14,7 +14,7 @@ const MatchedLetter = ({ matchedLetter }: { matchedLetter: MatchedLetter }) => {
<>
diff --git a/src/pages/RandomLetters/index.tsx b/src/pages/RandomLetters/index.tsx
index c1b12d9..d71c3d1 100644
--- a/src/pages/RandomLetters/index.tsx
+++ b/src/pages/RandomLetters/index.tsx
@@ -75,6 +75,14 @@ const RandomLettersPage = () => {
}, []);
return (
<>
+ {openSelectModal && (
+
+ )}
{openSelectedDetailModal ? (
) : (
@@ -103,15 +111,6 @@ const RandomLettersPage = () => {
setOpenSelectedDetailModal={setOpenSelectedDetailModal}
/>
)}
-
- {openSelectModal && (
-
- )}
>
diff --git a/src/pages/RollingPaper/index.tsx b/src/pages/RollingPaper/index.tsx
index 28fc0f6..06069c1 100644
--- a/src/pages/RollingPaper/index.tsx
+++ b/src/pages/RollingPaper/index.tsx
@@ -129,8 +129,8 @@ const RollingPaperPage = () => {
)}
+
-
>
);