Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/github.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { useState } from "react";
import { useForm } from 'react-hook-form';
import { z } from 'zod';
import { Input } from "./ui/input";
import { useMDXComponents } from "nextra-theme-docs";
import { useMDXComponents } from "nextra/mdx";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./ui/card";
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar";
import { Link } from "nextra-theme-docs"
Expand Down
6 changes: 3 additions & 3 deletions components/page-index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
getPagesUnderRoute,
} from "nextra/context";
import { Card, Cards } from "nextra/components";
import { Cards } from "nextra/components";
import { BookMarkedIcon } from "lucide-react";

function PageIndex({
Expand All @@ -22,12 +22,12 @@ function PageIndex({
const route = page.route;

return (
<Card
<Cards.Card
key={i}
icon={<BookMarkedIcon />}
title={title}
href={route}
>{null}</Card>
>{null}</Cards.Card>
);
})
}
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = {
}

// Add Nextra config
const withNextra = require('nextra')({
const withNextra = require('nextra').default({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
latex: true, // LaTeX support: https://nextra.site/docs/guide/advanced/latex
Expand Down
Loading
Loading