From f7860538a6e48e61be34f4ba1dfb3f2713820742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Fri, 27 May 2022 23:16:51 +0200 Subject: [PATCH] Fix typo in useSyncExternalStore main entry point error (#24631) --- 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'.",