From b31305f8eae66299c86625fdb0b95faa578f63e8 Mon Sep 17 00:00:00 2001 From: Jimmy Holway Date: Fri, 28 Jul 2023 11:35:40 +0200 Subject: [PATCH] fix(domaininput): removes superfluous typing as codesmell SXT-1023 Signed-off-by: Jimmy Holway --- src/components/chronicle/DomainInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chronicle/DomainInput.tsx b/src/components/chronicle/DomainInput.tsx index c60eca88..267379e0 100644 --- a/src/components/chronicle/DomainInput.tsx +++ b/src/components/chronicle/DomainInput.tsx @@ -65,7 +65,7 @@ const DomainInput: React.FC = ({ options, onOptionAdd, onOptio renderOption={(props, option, state: AutocompleteRenderOptionState) => ( {option} - handleOptionRemove(option as string)}> + handleOptionRemove(option)}>