Drop autofocus and move the search reset out of render. [skip build]
This commit is contained in:
1 parent
2db4fe4734
commit
6805762834
2 files changed
+7
-8
No files matched your search
@@ -275,7 +275,6 @@ export function ForumNewPostModal({
|
||||
onChange={(e) => setTitle(e.target.value)}
|
||||
maxLength={140}
|
||||
required
|
||||
autoFocus
|
||||
placeholder="Title"
|
||||
aria-label="Title"
|
||||
autoComplete="off"
|
||||
|
||||
Reference in new issue
Block a user