Skip to content

Commit f6245df

Browse files
committed
fix typo
1 parent bf9d08a commit f6245df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-async/src/Async.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const createInstance = <T extends {}>(
116116
this.setError = this.setError.bind(this)
117117

118118
const promise = props.promise
119-
const promiseFn = props.promiseFn || defaultOptions.promiseFConstructorn
119+
const promiseFn = props.promiseFn || defaultOptions.promiseFn
120120
const initialValue = props.initialValue || defaultOptions.initialValue
121121

122122
this.state = {

0 commit comments

Comments
 (0)