Skip to content

Commit 8030741

Browse files
committed
chore: rm slug from ToC props in story
1 parent eb54287 commit 8030741

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/TableOfContents/TableOfContents.stories.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import * as React from "react"
21
import { Stack } from "@chakra-ui/react"
32
import { Meta, StoryObj } from "@storybook/react"
43

5-
import { ToCItem, TocNodeType } from "@/lib/types"
4+
import { ToCItem } from "@/lib/types"
65

76
import TableOfContents from "./"
87

@@ -91,5 +90,5 @@ export default meta
9190
type Story = StoryObj<typeof meta>
9291

9392
export const Default: Story = {
94-
render: () => <TableOfContents slug="#web3" items={tocItems} maxDepth={2} />,
93+
render: () => <TableOfContents items={tocItems} maxDepth={2} />,
9594
}

0 commit comments

Comments
 (0)