From 604c19c27ec5e7669bfa6a4a5b08469ced66e8b8 Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Tue, 24 Oct 2023 13:21:01 +0300 Subject: [PATCH] fix: fix linting for copyfeature (#5138) --- frontend/src/component/feature/CopyFeature/CopyFeature.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/component/feature/CopyFeature/CopyFeature.tsx b/frontend/src/component/feature/CopyFeature/CopyFeature.tsx index 2ea0601fbc..ba7b07ba84 100644 --- a/frontend/src/component/feature/CopyFeature/CopyFeature.tsx +++ b/frontend/src/component/feature/CopyFeature/CopyFeature.tsx @@ -68,10 +68,7 @@ export const CopyFeatureToggle = () => { const [apiError, setApiError] = useState(''); const [nameError, setNameError] = useState(); const [newToggleName, setNewToggleName] = useState(); - const { - cloneFeatureToggle, - validateFeatureToggleName, - } = useFeatureApi(); + const { cloneFeatureToggle, validateFeatureToggleName } = useFeatureApi(); const featureId = useRequiredPathParam('featureId'); const projectId = useRequiredPathParam('projectId'); const { feature } = useFeature(projectId, featureId);