みてるぞ 1 week ago
parent
commit
a042a24647
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      frontend/src/components/WikiBody.tsx

+ 4
- 0
frontend/src/components/WikiBody.tsx View File

@@ -34,6 +34,10 @@ export default ({ title, body }: Props) => {
}) () }) ()
}, []) }, [])


useEffect (() => {
setRealBody ('')
}, [body])

useEffect (() => { useEffect (() => {
if (!(body)) if (!(body))
return return


Loading…
Cancel
Save