1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: fix linting for copyfeature (#5138)

This commit is contained in:
Jaanus Sellin 2023-10-24 13:21:01 +03:00 committed by GitHub
parent b47dbd37ff
commit 604c19c27e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,10 +68,7 @@ export const CopyFeatureToggle = () => {
const [apiError, setApiError] = useState('');
const [nameError, setNameError] = useState<string | undefined>();
const [newToggleName, setNewToggleName] = useState<string>();
const {
cloneFeatureToggle,
validateFeatureToggleName,
} = useFeatureApi();
const { cloneFeatureToggle, validateFeatureToggleName } = useFeatureApi();
const featureId = useRequiredPathParam('featureId');
const projectId = useRequiredPathParam('projectId');
const { feature } = useFeature(projectId, featureId);