Skip to content

Commit 6e53e59

Browse files
committed
fix double req typo
1 parent 501f538 commit 6e53e59

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-async-hook",
3-
"version": "3.5.2",
3+
"version": "3.5.3",
44
"description": "Async hook",
55
"author": "Sébastien Lorber",
66
"license": "MIT",

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ const useAsyncInternal = <R = UnknownResult, Args extends any[] = UnknownArgs>(
243243
useEffect(() => {
244244
if (isMounting) {
245245
normalizedOptions.executeOnMount && executeAsyncOperation(...params);
246-
normalizedOptions.executeOnMount && executeAsyncOperation(...params);
247246
} else {
248247
normalizedOptions.executeOnUpdate && executeAsyncOperation(...params);
249248
}

0 commit comments

Comments
 (0)