From a635513d66fd4d2c605a0e64b4fa94828c64610e Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sun, 10 May 2020 16:33:00 -0700 Subject: linked backend and frontend --- frontend/src/components/Inputs.js | 1 + frontend/src/components/PasteArea.js | 54 +++++++++++++++++++++++++++++++++--- 2 files changed, 51 insertions(+), 4 deletions(-) (limited to 'frontend/src/components') diff --git a/frontend/src/components/Inputs.js b/frontend/src/components/Inputs.js index aa68a70..110d5bd 100644 --- a/frontend/src/components/Inputs.js +++ b/frontend/src/components/Inputs.js @@ -52,6 +52,7 @@ class PasteInput extends React.Component { placeholder="Paste your text here" value={this.props.content} id={this.props.id} + required onChange={this.props.onChange} className="lt-shadow" />