diff options
| author | jackyzha0 <[email protected]> | 2021-03-06 10:17:28 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-06 10:17:28 -0800 |
| commit | a866d5a9fad78074fdf5c124d7900ab436e01958 (patch) | |
| tree | 783f17614b0fb02e5b3f4e7ea48be63c0a45469c /frontend/src/components/NewPaste.js | |
| parent | add more css mixins (diff) | |
| download | ctrl-v-a866d5a9fad78074fdf5c124d7900ab436e01958.tar.xz ctrl-v-a866d5a9fad78074fdf5c124d7900ab436e01958.zip | |
base editor comp
Diffstat (limited to 'frontend/src/components/NewPaste.js')
| -rw-r--r-- | frontend/src/components/NewPaste.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = <Code - onChange={(e) => { setContent(e.target.value) }} + setContentCallback={setContent} content={content} maxLength="100000" id="pasteInput" /> |