Skip to content

Commit

Permalink
[docs] Fix typo (#2546)
Browse files Browse the repository at this point in the history
Update docs to include import useParams for example code to work properly.
  • Loading branch information
Charles M committed Sep 24, 2022
1 parent dff6265 commit 14a3ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/docs/core/Tabs.mdx
Expand Up @@ -182,7 +182,7 @@ function Demo() {
```

```tsx
import { useNavigate } from 'react-router-dom';
import { useNavigate, useParams } from 'react-router-dom';
import { Tabs } from '@mantine/core';

function Demo() {
Expand Down

0 comments on commit 14a3ff0

Please sign in to comment.