From 738a547336a920c8e2c86faae84697e37effc452 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Sat, 14 May 2022 11:14:32 +0200 Subject: [PATCH] build: import with-selector with extension from useESE --- core/use-swr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/use-swr.ts b/core/use-swr.ts index 48207c0423..6efb2fbf40 100644 --- a/core/use-swr.ts +++ b/core/use-swr.ts @@ -1,5 +1,5 @@ import { useCallback, useRef, useDebugValue } from 'react' -import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector' +import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-selector.js' import { defaultConfig,