diff --git a/frontend/src/components/WikiBody.tsx b/frontend/src/components/WikiBody.tsx index e3f2fdb..f127cc6 100644 --- a/frontend/src/components/WikiBody.tsx +++ b/frontend/src/components/WikiBody.tsx @@ -72,7 +72,7 @@ export default ({ title, body }: Props) => { acc.slice (0, start) + `[${ name }](/wiki/${ encodeURIComponent (name) })` + acc.slice (end)), body)) - }, [pageNames]) + }, [body, pageNames]) return (