Skip to content

Commit

Permalink
adding types
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfieJones committed Jun 10, 2024
1 parent b74ff28 commit 974d198
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions apps/marketing-astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"typescript": "^5.4.5"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"tailwind-scrollbar": "^3.1.0"
}
}
12 changes: 6 additions & 6 deletions apps/marketing/src/app/docs/[...pages]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ export default async function Page({
return (
<>
<div className="min-w-0 max-w-4xl flex-auto prose px-4 py-16 lg:pl-8 lg:pr-0 xl:px-12 h-full">
{renderers.react(content, React, {
components: {
Tabs: TabsRender,
Tab: TabRender,
}
})}
{renderers.react(content, React, {
components: {
Tabs: TabsRender,
Tab: TabRender,
}
})}
<div className="flex justify-between items-center flex-col lg:flex-row mt-24 space-y-6">
<Feedback page={file.url} />
{lastModified && (
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 974d198

Please sign in to comment.