diff --git a/src/message.tsx b/src/message.tsx index a8ce9cf..bb9a2a7 100644 --- a/src/message.tsx +++ b/src/message.tsx @@ -110,25 +110,31 @@ export default function Message(props: Props) { className={ "absolute bg-black bg-opacity-50 w-full h-full top-0 left-0 pt-5 px-5 pb-20 rounded z-10" } + onClick={() => setShowEdit(false)} > - -