From 22896470e39dc958e9024f0fff10f8ffc8ea76a2 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sat, 24 Sep 2022 13:36:14 +1200 Subject: [PATCH] Remove unused `splice` function --- client/homebrew/editor/editor.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index 63d7a2d97..e1dc9fd64 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -19,11 +19,6 @@ const DEFAULT_STYLE_TEXT = dedent` color: black; }`; -const splice = function(str, index, inject){ - return str.slice(0, index) + inject + str.slice(index); -}; - - const Editor = createClass({ displayName : 'Editor',