diff --git a/src/libs/ComposerUtils/index.ts b/src/libs/ComposerUtils/index.ts index 4113f7447d58..94bba5d0d00c 100644 --- a/src/libs/ComposerUtils/index.ts +++ b/src/libs/ComposerUtils/index.ts @@ -18,7 +18,6 @@ function insertText(text: string, selection: Selection, textToInsert: string): s * Insert a white space at given index of text * @param text - text that needs whitespace to be appended to */ - function insertWhiteSpaceAtIndex(text: string, index: number) { return `${text.slice(0, index)} ${text.slice(index)}`; }