From a866d5a9fad78074fdf5c124d7900ab436e01958 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sat, 6 Mar 2021 10:17:28 -0800 Subject: base editor comp --- frontend/src/components/NewPaste.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/components/NewPaste.js') diff --git a/frontend/src/components/NewPaste.js b/frontend/src/components/NewPaste.js index 419f39d..506d66c 100644 --- a/frontend/src/components/NewPaste.js +++ b/frontend/src/components/NewPaste.js @@ -74,7 +74,7 @@ const NewPaste = () => { function renderPreview() { const pasteInput = { setContent(e.target.value) }} + setContentCallback={setContent} content={content} maxLength="100000" id="pasteInput" /> -- cgit v1.2.3