Skip to content

Commit

Permalink
Move MDX Link to Components 9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Jan 15, 2025
1 parent 017a3de commit edceba4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 37 deletions.
9 changes: 1 addition & 8 deletions packages/web/docs/mdx-components.js
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
/**
* We have an error while using `mdx-components` with `.tsx` extension:
*
* createContext only works in Client Components. Add the "use client" directive at the top of the file to use it
*
* Using `.js` to avoid this error for now
*/
export { useMDXComponents } from './src/mdx-components';
export { useHiveMDXComponents as useMDXComponents } from '@theguild/components/server';
2 changes: 1 addition & 1 deletion packages/web/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@radix-ui/react-icons": "1.3.2",
"@radix-ui/react-tabs": "1.1.2",
"@radix-ui/react-tooltip": "1.1.6",
"@theguild/components": "9.0.0",
"@theguild/components": "9.1.0",
"date-fns": "4.1.0",
"next": "15.1.0",
"react": "19.0.0",
Expand Down
28 changes: 0 additions & 28 deletions packages/web/docs/src/mdx-components.tsx

This file was deleted.

0 comments on commit edceba4

Please sign in to comment.