Skip to content

Commit cd8cb81

Browse files
docs: fix typo and "use client" snippet
1 parent ec8755e commit cd8cb81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/troubleshooting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@ To use `react-tooltip` on Next.js 13 without having to tag your component or pag
169169

170170
:::caution
171171

172-
Avoid naming the file `react-tooltip.tsx` (or with whichever extension your project uses), since it may interfere with your editor's autocomplete funcionality.
172+
Avoid naming the file `react-tooltip.tsx` (or with whichever extension your project uses), since it may interfere with your editor's autocomplete functionality.
173173

174174
:::
175175

176176
```jsx
177177
// src/components/ReactTooltip.tsx
178178
'use client'
179179

180-
export * from 'react-tooltip'
180+
export { Tooltip } from 'react-tooltip'
181181
```
182182

183183
And in the place that you are importing React Tooltip:

0 commit comments

Comments
 (0)