From 4f1f40ceec67dc4f6d7b582392cc028e021a0a6e Mon Sep 17 00:00:00 2001 From: Nikita Indik <nikita.indik@elastic.co> Date: Tue, 24 Dec 2024 16:36:10 +0100 Subject: [PATCH] Remove unnecessary type import, fix type --- .../components/rule_details/json_diff/diff_view.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx index 66abd9b68feb3..9b10fb00b12eb 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/json_diff/diff_view.tsx @@ -25,7 +25,6 @@ import type { HunkTokens, } from 'react-diff-view'; import unidiff from 'unidiff'; -import type { Change } from 'diff'; import { useEuiTheme, COLOR_MODES_STANDARD } from '@elastic/eui'; import { Hunks } from './hunks'; import { markEdits, DiffMethod } from './mark_edits'; @@ -89,7 +88,7 @@ const useTokens = ( try { /* - Synchroniously apply all the enhancers to the hunks and return an array of tokens. + Synchronously apply all the enhancers to the hunks and return an array of tokens. */ return tokenize(hunks, options); } catch (ex) {