diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index fc5a140..01b985e 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -92,7 +92,7 @@ const Layout: React.FC = () => { const handleMsgClose = () => { setMsgOpen(false); - setMsgText(''); + // setMsgText(''); // ここで空にすると,メッセージが消えるアニメーションが始まる時点で文字が消えてしまう sessionStorage.removeItem('globalMessage'); };