We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb54287 commit 8030741Copy full SHA for 8030741
src/components/TableOfContents/TableOfContents.stories.tsx
@@ -1,8 +1,7 @@
1
-import * as React from "react"
2
import { Stack } from "@chakra-ui/react"
3
import { Meta, StoryObj } from "@storybook/react"
4
5
-import { ToCItem, TocNodeType } from "@/lib/types"
+import { ToCItem } from "@/lib/types"
6
7
import TableOfContents from "./"
8
@@ -91,5 +90,5 @@ export default meta
91
90
type Story = StoryObj<typeof meta>
92
93
export const Default: Story = {
94
- render: () => <TableOfContents slug="#web3" items={tocItems} maxDepth={2} />,
+ render: () => <TableOfContents items={tocItems} maxDepth={2} />,
95
}
0 commit comments