Fix typo in useSyncExternalStore main entry point error (#24631)

This commit is contained in:
François Chalifour 2022-05-27 23:16:51 +02:00 committed by GitHub
parent 1bed20731f
commit f7860538a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if (__DEV__) {
'it only works with React 18+.' +
'\n\n' +
'If you wish to support React 16 and 17, import from ' +
"'use-sync-external-store/shim' instead. It will fall back to a shimmed" +
"'use-sync-external-store/shim' instead. It will fall back to a shimmed " +
'implementation when the native one is not available.' +
'\n\n' +
"If you only support React 18+, you can import directly from 'react'.",