mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-31 01:16:01 +02:00
clean(feature): remove unused code
This commit is contained in:
parent
12f00c9f0f
commit
46cd021ddb
@ -34,9 +34,7 @@ const prepare = (methods, dispatch) => {
|
||||
delete s.id;
|
||||
});
|
||||
}
|
||||
if (input.editmode) {
|
||||
delete input.description;
|
||||
}
|
||||
delete input.description;
|
||||
|
||||
// TODO: should add error handling
|
||||
requestUpdateFeatureToggle(input)(dispatch)
|
||||
|
@ -42,7 +42,7 @@ class AddFeatureToggleComponent extends Component {
|
||||
enabled,
|
||||
} = input;
|
||||
const configuredStrategies = input.strategies || [];
|
||||
input.editmode = editmode;
|
||||
|
||||
return (
|
||||
<form onSubmit={onSubmit(input)}>
|
||||
<section style={{ padding: '16px' }}>
|
||||
|
Loading…
Reference in New Issue
Block a user