fix: make autoFocus a prop on FeedbackForm, only apply in modal context

This commit is contained in:
2026-03-30 20:51:08 -04:00
parent 82a38a7a15
commit 0e4c49928b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export function FeedbackModal({
<XMarkIcon className="h-5 w-5" />
</button>
</div>
<FeedbackForm onSuccess={onClose} />
<FeedbackForm onSuccess={onClose} autoFocus />
</div>
</div>
)