Skip to content

Commit 4daae4f

Browse files
committed
typo
1 parent a8708c8 commit 4daae4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ const useAsyncInternal = <R = UnknownResult, Args extends any[] = UnknownArgs>(
271271
);
272272
return promise;
273273
} else {
274-
// We allow passing a non-async function (mostly for useAsyncCallback conveniency)
274+
// We allow passing a non-async function (mostly for useAsyncCallback convenience)
275275
const syncResult: R = promise;
276276
AsyncState.setResult(syncResult);
277277
return Promise.resolve<R>(syncResult);

0 commit comments

Comments
 (0)