diff options
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 f741c7e..419f39d 100644 --- a/frontend/src/components/NewPaste.js +++ b/frontend/src/components/NewPaste.js @@ -128,6 +128,7 @@ const NewPaste = () => { label="title" onChange={(e) => {setTitle(e.target.value)}} value={title} + autoFocus maxLength="100" id="titleInput" /> {renderPreview()} @@ -140,7 +141,6 @@ const NewPaste = () => { onExpiryChange={(e) => { setExpiry(e.target.value) }} /> <SubmitButton type="submit" value="new paste" /> <Button - className="lt-shadow lt-hover" type="button" onClick={() => setIsPreview(!isPreview)}> preview |