From 42e4900e569289767605a15c6d2d61b4a8461811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Fri, 27 May 2022 22:35:49 +0200 Subject: [PATCH] Fix typo in useSyncExternalStore main entry point error --- packages/use-sync-external-store/src/useSyncExternalStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/use-sync-external-store/src/useSyncExternalStore.js b/packages/use-sync-external-store/src/useSyncExternalStore.js index f1bb95556d2bb..b8abd5b6857f4 100644 --- a/packages/use-sync-external-store/src/useSyncExternalStore.js +++ b/packages/use-sync-external-store/src/useSyncExternalStore.js @@ -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'.",