aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/NewPaste.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/NewPaste.js')
-rw-r--r--frontend/src/components/NewPaste.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/frontend/src/components/NewPaste.js b/frontend/src/components/NewPaste.js
index f778a05..ff945a0 100644
--- a/frontend/src/components/NewPaste.js
+++ b/frontend/src/components/NewPaste.js
@@ -77,15 +77,9 @@ const NewPaste = () => {
}
}
- function insertTab(start, end, callback) {
- setContent(content.substring(0, start) + ' ' + content.substring(end))
- callback()
- }
-
function renderPreview() {
const pasteInput = <PasteInput
onChange={(e) => { setContent(e.target.value) }}
- insertTabCallback={insertTab}
content={content}
maxLength="100000"
id="pasteInput" />