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:
parent
b47dbd37ff
commit
604c19c27e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user