From a042a24647a0c7fbf22f1485add38a38e76e3ecf Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sun, 3 Aug 2025 16:25:22 +0900 Subject: [PATCH] #89 --- frontend/src/components/WikiBody.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/WikiBody.tsx b/frontend/src/components/WikiBody.tsx index f127cc6..187b52e 100644 --- a/frontend/src/components/WikiBody.tsx +++ b/frontend/src/components/WikiBody.tsx @@ -34,6 +34,10 @@ export default ({ title, body }: Props) => { }) () }, []) + useEffect (() => { + setRealBody ('') + }, [body]) + useEffect (() => { if (!(body)) return