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