diff --git a/fundamentals/today-i-learned/src/components/features/discussions/PostMoreMenu.tsx b/fundamentals/today-i-learned/src/components/features/discussions/PostMoreMenu.tsx index 16e6f386..b7906e05 100644 --- a/fundamentals/today-i-learned/src/components/features/discussions/PostMoreMenu.tsx +++ b/fundamentals/today-i-learned/src/components/features/discussions/PostMoreMenu.tsx @@ -1,5 +1,6 @@ import { useState, useRef, useEffect } from "react"; import { MoreHorizontal } from "lucide-react"; +import { css } from "@styled-system/css"; import { Button } from "@/components/shared/ui/Button"; import { AlertDialog } from "@/components/shared/ui/AlertDialog"; @@ -73,7 +74,7 @@ export function PostMoreMenu({ }; return ( -
+
@@ -114,31 +173,103 @@ export function PostMoreMenu({ -
-

+
+

글을 삭제하시겠습니까?

-

+

댓글과 반응도 함께 삭제됩니다.
삭제 후에는 복구할 수 없습니다.

-
+
{/* 에러 메시지 */} {isDeleteError && ( -

+

삭제에 실패했습니다. 네트워크 상태를 확인해주세요.

)}