Skip to content

Commit

Permalink
Fix documentation build config
Browse files Browse the repository at this point in the history
  • Loading branch information
rodleviton committed Nov 21, 2023
1 parent 4f00380 commit 0ff0ea0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ const withNextra = require("nextra")({

module.exports = withNextra({
output: "export",
// server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized)
images: { unoptimized: isProduction },
basePath: isProduction ? "/recast" : "",
reactStrictMode: true,
images: {
// server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized)
unoptimized: isProduction,
remotePatterns: [
{
protocol: "https",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/components/demos/collapsible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function CollapsibleDemo() {
@peduarte starred 3 repositories
</h4>
<CollapsibleTrigger asChild>
<Button intent="ghost" size="sm">
<Button variant="ghost" size="sm">
<CaretSortIcon className="h-4 w-4" />
<span className="sr-only">Toggle</span>
</Button>
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/pages/components/collapsible.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ An interactive component which expands/collapses a panel.
@peduarte starred 3 repositories
</h4>
<CollapsibleTrigger asChild>
<Button intent="ghost" size="sm">
<Button variant="ghost" size="sm">
<CaretSortIcon className="h-4 w-4" />
<span className="sr-only">Toggle</span>
</Button>
Expand Down

0 comments on commit 0ff0ea0

Please sign in to comment.