Skip to content

Commit

Permalink
Revert "Remove = any"
Browse files Browse the repository at this point in the history
This reverts commit 06033f8.
  • Loading branch information
Murderlon committed Apr 15, 2024
1 parent 06033f8 commit aa37f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/react/src/useUppyState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-s
export default function useUppyState<
M extends Meta = Meta,
B extends Body = Body,
T,
T = any,
>(uppy: Uppy<M, B>, selector: (state: State<M, B>) => T): T {
const subscribe = useMemo(
() => uppy.store.subscribe.bind(uppy.store),
Expand Down

0 comments on commit aa37f52

Please sign in to comment.