Skip to content

Commit d9640ae

Browse files
committed
Import from react-use more narrowly
1 parent 6a89fcb commit d9640ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • x-pack/plugins/observability/public/components/shared/page_template

x-pack/plugins/observability/public/components/shared/page_template/side_nav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { EuiAvatar, EuiSideNav, EuiSideNavItemType, EuiTitle } from '@elastic/eu
99
import { i18n } from '@kbn/i18n';
1010
import React, { useMemo } from 'react';
1111
import { matchPath, useLocation } from 'react-router-dom';
12-
import { useObservable } from 'react-use';
12+
import useObservable from 'react-use/lib/useObservable';
1313
import type { Observable } from 'rxjs';
1414
import type { ApplicationStart } from '../../../../../../../src/core/public';
1515
import type { NavigationSection } from '../../../services/navigation_registry';

0 commit comments

Comments
 (0)