mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
test: 💍 fix useAsync test
This commit is contained in:
parent
074d8ce16d
commit
733cf9bb07
@ -148,7 +148,7 @@ describe('useAsync', () => {
|
||||
hook = renderHook(
|
||||
({ fn, counter }) => {
|
||||
const callback = useCallback(() => fn(counter), [counter]);
|
||||
return useAsync<string>(callback, [callback]);
|
||||
return useAsync<any>(callback, [callback]);
|
||||
},
|
||||
{
|
||||
initialProps: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user