diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-08-21 16:21:00 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-08-21 16:21:00 +0200 |
| commit | d0f2898b91fe8fb2f58d96da6b52cf618b8d4e3b (patch) | |
| tree | 27b553b7f6a66554786348a5d661f72ff3550ccf /src/pages | |
| parent | a3eb518dcccaebd0f48c708c189ad2fcb07f0f73 (diff) | |
fix(projects): do not transform pre to Code component
Sometimes it is useful to display some preformatted data that are not
code.
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/projets/[slug].tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pages/projets/[slug].tsx b/src/pages/projets/[slug].tsx index 247f350..b396fc3 100644 --- a/src/pages/projets/[slug].tsx +++ b/src/pages/projets/[slug].tsx @@ -64,7 +64,6 @@ const ProjectPage: NextPageWithLayout<ProjectPageProps> = ({ project }) => { Gallery: (props) => <Gallery {...props} />, Image: (props) => <ResponsiveImage withBorders={true} {...props} />, Link: (props) => <Link {...props} />, - pre: ({ children }) => <Code {...children.props} />, }; const { website } = useSettings(); |
