From 2214774555cf8fbbfe35cf21ed479d3a20501230 Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Tue, 15 Oct 2024 18:14:12 +0200 Subject: [PATCH] fix lint error error 'react-use' import is restricted from being used --- .../attack_discovery/pages/header/settings_modal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/attack_discovery/pages/header/settings_modal/index.tsx b/x-pack/plugins/security_solution/public/attack_discovery/pages/header/settings_modal/index.tsx index 0d342c591f32b..7543985c74786 100644 --- a/x-pack/plugins/security_solution/public/attack_discovery/pages/header/settings_modal/index.tsx +++ b/x-pack/plugins/security_solution/public/attack_discovery/pages/header/settings_modal/index.tsx @@ -24,7 +24,7 @@ import { SHOW_SETTINGS_TOUR_LOCAL_STORAGE_KEY, } from '@kbn/elastic-assistant'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { useLocalStorage } from 'react-use'; +import useLocalStorage from 'react-use/lib/useLocalStorage'; import { AlertsSettings } from './alerts_settings'; import { useSpaceId } from '../../../../common/hooks/use_space_id';