Skip to content

Commit 320b619

Browse files
committed
Fix linting.
1 parent 08be4ad commit 320b619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-async/src/useAsync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,5 +186,5 @@ const unsupported = () => {
186186
)
187187
}
188188

189-
export default (useEffect ? useAsync : unsupported)
189+
export default useEffect ? useAsync : unsupported
190190
export const useFetch = useEffect ? useAsyncFetch : unsupported

0 commit comments

Comments
 (0)