add autofocus to event name

This commit is contained in:
zmeyer44 2023-10-31 07:16:45 -04:00
parent c4efbadf89
commit 847fc2c190

View File

@ -200,6 +200,7 @@ export default function CreateCalendarEventModal() {
ref={titleRef}
value={title}
onChange={(e) => setTitle(e.target.value)}
autoFocus={true}
placeholder="Event Name"
className={cn(
"invisible-input !text-3xl font-bold text-foreground outline-none placeholder:text-muted-foreground/50 placeholder:hover:text-muted-foreground/80",