Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit b7b8f17

Browse files
committed
fix: auto-focus input
1 parent 0029eab commit b7b8f17

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pages/[[...slug]].tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ const Index: NextPage<StaticProps> = ({ initialCommandString }) => {
153153
name="command-string"
154154
id="command-string"
155155
value={commandString}
156+
autoFocus
157+
autoComplete="off"
158+
autoCorrect="off"
156159
spellCheck="false"
157160
onChange={(e) => setCommandString(e.target.value.trimStart())}
158161
onClick={(e) =>

0 commit comments

Comments
 (0)