Fix typo in useSyncExternalStore main entry point error (#24631)
François Chalifour committed
May 27, 2022 at 23:16 UTC
f7860538a6e48e61be34f4ba1dfb3f2713820742
1 file changed
+1
-1
packages/use-sync-external-store/src/useSyncExternalStore.js
+1
-1
@@ -22,7 +22,7 @@ if (__DEV__) {
22
'it only works with React 18+.' +
23
'\n\n' +
24
'If you wish to support React 16 and 17, import from ' +
25
- "'use-sync-external-store/shim' instead. It will fall back to a shimmed" +
25
+ "'use-sync-external-store/shim' instead. It will fall back to a shimmed " +
26
'implementation when the native one is not available.' +
27
'\n\n' +
28
"If you only support React 18+, you can import directly from 'react'.",