diff --git a/packages/@uppy/react/src/useUppyState.ts b/packages/@uppy/react/src/useUppyState.ts index e69a63a420..944f6e949c 100644 --- a/packages/@uppy/react/src/useUppyState.ts +++ b/packages/@uppy/react/src/useUppyState.ts @@ -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 = any, + T, >(uppy: Uppy, selector: (state: State) => T): T { const subscribe = useMemo( () => uppy.store.subscribe.bind(uppy.store),