fix: make autoFocus a prop on FeedbackForm, only apply in modal context
This commit is contained in:
@@ -45,7 +45,7 @@ export function FeedbackModal({
|
||||
<XMarkIcon className="h-5 w-5" />
|
||||
</button>
|
||||
</div>
|
||||
<FeedbackForm onSuccess={onClose} />
|
||||
<FeedbackForm onSuccess={onClose} autoFocus />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user