Skip to content

Commit

Permalink
Avoids collision in hooks exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Titou325 authored Nov 20, 2024
1 parent 6b3f9cd commit cae30ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export const Example = ({ fileURL }: { fileURL: string }) => {
};

export {
// Hooks
useViewport,
// Components
Viewport,
Root,
Page,
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { useViewport } from "@/lib/viewport";
export * from "@/components";

0 comments on commit cae30ba

Please sign in to comment.