diff --git a/apps/web/components/blocks-to-context.tsx b/apps/web/components/blocks-to-context.tsx index 9329c261..63576c8d 100644 --- a/apps/web/components/blocks-to-context.tsx +++ b/apps/web/components/blocks-to-context.tsx @@ -38,10 +38,12 @@ export function WithTooltip({ ? "p-0 [&>*]:my-0 border-none overflow-auto rounded-none" : "" return ( - + - - {children} + + + {children} + {block?.children} diff --git a/apps/web/content/blog/build-time-components.mdx b/apps/web/content/blog/build-time-components.mdx index 2e2bb42b..14b10645 100644 --- a/apps/web/content/blog/build-time-components.mdx +++ b/apps/web/content/blog/build-time-components.mdx @@ -229,7 +229,7 @@ If you didn't know anything about the build process, your first thought might be Let's assume we already have a _`async function scrape(url)`_ that given a URL it fetches the HTML, finds the open graph image tag, and returns the `content` attribute, which is the URL of the image we want. -We also have a _`function LinkWithCard({ href, children, image })`_ that renders a link with a hover card that shows the image (I'm using [shadcn's Hover Card](https://ui.shadcn.com/docs/components/hover-card)). +We also have a _`function LinkWithCard({ href, children, image })`_ that renders a link with a hover card that shows the image. ## !one diff --git a/apps/web/content/blog/fine-grained/scrolly.tsx b/apps/web/content/blog/fine-grained/scrolly.tsx index cedcb29e..369867f0 100644 --- a/apps/web/content/blog/fine-grained/scrolly.tsx +++ b/apps/web/content/blog/fine-grained/scrolly.tsx @@ -74,7 +74,7 @@ function Rich(props: ContentProps) { />
{blocks.map((step, i) => ( @@ -90,7 +90,7 @@ function StepMessage({ step, index }: { step: Step; index: number }) { {step.children} {step.after?.children}