Skip to content

Commit

Permalink
Make Link available for MDX pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bluprince13 committed Jun 9, 2024
1 parent bca197e commit d25e274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Root = styled('div')(() => ({
border: 0
}
}
}));
}))

const Youtube = ({ id, caption }) => {

Expand Down
4 changes: 3 additions & 1 deletion src/pages/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import Alert from '@Components/Alert'
import { ComparisonTable } from '@Components/ComparisonTable'
import { Typography } from '@mui/material'
import 'prism-theme-night-owl'
import Link from 'next/link'

const components = {
Figure,
Expand All @@ -37,7 +38,8 @@ const components = {
Table,
Alert,
ComparisonTable,
Typography
Typography,
Link
}

interface Props {
Expand Down

0 comments on commit d25e274

Please sign in to comment.