Skip to content

Commit

Permalink
docs(changeset): Remove default export.
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 23, 2024
1 parent e13dc96 commit e3e8e74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-boats-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"r18gs": major
---

Remove default export.
2 changes: 0 additions & 2 deletions lib/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ const useRGS = <T>(key: string, value?: ValueType<T>): [T, SetStateAction<T>] =>
return createHook<T>(key);
};

/** @deprecated - default export is deprecated and will be removed. Use `import { useRGS } from "r18gs"` */
export default useRGS;
export { useRGS };

0 comments on commit e3e8e74

Please sign in to comment.