chore: Cleaned up todo that has already been done.

This commit is contained in:
Quentin Decaunes 2020-03-19 16:34:44 +01:00
parent 5629f8034a
commit c41cefab5e

View File

@ -121,10 +121,6 @@ class Scene extends React.Component<{}, RyzenControllerAppContextType> {
}, },
}; };
if (this.state.presets.hasOwnProperty(name)) {
// @TODO handle preset creation when name already existing.
}
this.setState({ this.setState({
presets: { presets: {
...this.state.presets, ...this.state.presets,