|
@@ -98,7 +98,7 @@ export default ({ title, body }: Props) => { |
|
|
}, [body, pageNames]) |
|
|
}, [body, pageNames]) |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<ReactMarkdown components={mdComponents} remarkPlugins={[remarkGfm]}> |
|
|
|
|
|
|
|
|
<ReactMarkdown components={mdComponents} remarkPlugins={[remarkGFM]}> |
|
|
{realBody || `このページは存在しません。[新規作成してください](/wiki/new?title=${ encodeURIComponent (title) })。`} |
|
|
{realBody || `このページは存在しません。[新規作成してください](/wiki/new?title=${ encodeURIComponent (title) })。`} |
|
|
</ReactMarkdown>) |
|
|
</ReactMarkdown>) |
|
|
} |
|
|
} |