File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3434 "test:backwards" : " npm i react@16.3.1 react-dom@16.3.1 && npm test" ,
3535 "test:forwards" : " npm i react@next react-dom@next && npm test" ,
3636 "test:latest" : " npm i react@latest react-dom@latest && npm test" ,
37- "test:hook" : " npm i react@16.7.0-alpha.0 react-dom@16.7.0-alpha.0 && jest src/useAsync.spec.js --collectCoverageFrom=src/useAsync.js" ,
37+ "test:hook" : " npm i react@16.7.0-alpha.2 react-dom@16.7.0-alpha.2 && jest src/useAsync.spec.js --collectCoverageFrom=src/useAsync.js" ,
3838 "prepublishOnly" : " npm run lint && npm run test:compat && npm run test:hook && npm run build"
3939 },
4040 "dependencies" : {},
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const useAsync = (opts, init) => {
8282
8383const unsupported = ( ) => {
8484 throw new Error (
85- "useAsync requires react@16.7.0 or later . Upgrade your React version or use the <Async> component instead."
85+ "useAsync requires react@16.7.0-alpha . Upgrade your React version or use the <Async> component instead."
8686 )
8787}
8888
You can’t perform that action at this time.
0 commit comments