From 9c9935d9a74690196824f0f2ec399f91e0592a65 Mon Sep 17 00:00:00 2001 From: tygao Date: Tue, 12 Mar 2024 17:15:41 +0800 Subject: [PATCH] fix wrong change Signed-off-by: tygao --- src/core/public/overlays/sidecar/components/sidecar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/public/overlays/sidecar/components/sidecar.tsx b/src/core/public/overlays/sidecar/components/sidecar.tsx index 3a5addd9be99..7eec0f666412 100644 --- a/src/core/public/overlays/sidecar/components/sidecar.tsx +++ b/src/core/public/overlays/sidecar/components/sidecar.tsx @@ -4,7 +4,7 @@ */ import React, { useCallback, useMemo } from 'react'; -import { useObservable } from 'react-use'; +import useObservable from 'react-use/lib/useObservable'; import { BehaviorSubject } from 'rxjs'; import classNames from 'classnames'; import { I18nStart } from '../../../i18n';