mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02: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 [apiError, setApiError] = useState('');
|
||||||
const [nameError, setNameError] = useState<string | undefined>();
|
const [nameError, setNameError] = useState<string | undefined>();
|
||||||
const [newToggleName, setNewToggleName] = useState<string>();
|
const [newToggleName, setNewToggleName] = useState<string>();
|
||||||
const {
|
const { cloneFeatureToggle, validateFeatureToggleName } = useFeatureApi();
|
||||||
cloneFeatureToggle,
|
|
||||||
validateFeatureToggleName,
|
|
||||||
} = useFeatureApi();
|
|
||||||
const featureId = useRequiredPathParam('featureId');
|
const featureId = useRequiredPathParam('featureId');
|
||||||
const projectId = useRequiredPathParam('projectId');
|
const projectId = useRequiredPathParam('projectId');
|
||||||
const { feature } = useFeature(projectId, featureId);
|
const { feature } = useFeature(projectId, featureId);
|
||||||
|
Loading…
Reference in New Issue
Block a user