Skip to content

Commit

Permalink
chore: clarify deprecation message (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi authored Feb 17, 2024
1 parent 7d2525e commit a85865b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function useStore<S extends WithReact<StoreApi<unknown>>, U>(
): U

/**
* @deprecated Use `useStoreWithEqualityFn` from 'zustand/traditional'
* @deprecated The usage with three arguments is deprecated. Use `useStoreWithEqualityFn` from 'zustand/traditional'. The usage with one or two arguments is not deprecated.
* https://github.com/pmndrs/zustand/discussions/1937
*/
export function useStore<S extends WithReact<StoreApi<unknown>>, U>(
Expand Down

0 comments on commit a85865b

Please sign in to comment.