From c41cefab5e0a25f27f1e4849f267227f44427430 Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Thu, 19 Mar 2020 16:34:44 +0100 Subject: [PATCH] chore: Cleaned up todo that has already been done. --- src/scenes/Scene.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/scenes/Scene.tsx b/src/scenes/Scene.tsx index d973943..6082886 100644 --- a/src/scenes/Scene.tsx +++ b/src/scenes/Scene.tsx @@ -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({ presets: { ...this.state.presets,