From 68acccf1a4b7ad12bb8a032a33f4da13f139c253 Mon Sep 17 00:00:00 2001 From: riggraz Date: Mon, 25 Nov 2019 23:07:20 +0100 Subject: [PATCH] Remove autofocus from some input controls --- app/javascript/components/Comments/NewComment.tsx | 1 - app/views/devise/registrations/edit.html.erb | 2 +- app/views/devise/sessions/new.html.erb | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/javascript/components/Comments/NewComment.tsx b/app/javascript/components/Comments/NewComment.tsx index f1d1aaf7..c3e713ac 100644 --- a/app/javascript/components/Comments/NewComment.tsx +++ b/app/javascript/components/Comments/NewComment.tsx @@ -38,7 +38,6 @@ const NewComment = ({ value={body} onChange={handleChange} placeholder="Leave a comment" - autoFocus className="newCommentBody" />