Skip to content

Commit

Permalink
refactor(hooks): export useStateAction from /hooks path
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdoRan committed Jul 15, 2024
1 parent 6d6ec34 commit a148550
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next-safe-action/src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,6 @@ export const useOptimisticAction = <
};
};

export { useStateAction } from "./stateful-hooks";

export type * from "./hooks.types";

0 comments on commit a148550

Please sign in to comment.