mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-09-15 22:32:04 +02:00
Focus the confirmation action when opening dialogs
This commit is contained in:
@@ -62,7 +62,7 @@ export function Confirm({
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<HStack space={2} justifyContent="start" className="mt-2 mb-4 flex-row-reverse">
|
<HStack space={2} justifyContent="start" className="mt-2 mb-4 flex-row-reverse">
|
||||||
<Button type="submit" color={color} disabled={!didConfirm}>
|
<Button autoFocus={!requireTyping} type="submit" color={color} disabled={!didConfirm}>
|
||||||
{confirmText ?? "Confirm"}
|
{confirmText ?? "Confirm"}
|
||||||
</Button>
|
</Button>
|
||||||
<Button onClick={handleHide} variant="border">
|
<Button onClick={handleHide} variant="border">
|
||||||
|
|||||||
Reference in New Issue
Block a user