Skip to content

Commit

Permalink
🐛 fix validateDOMNesting issue on Reset button
Browse files Browse the repository at this point in the history
  • Loading branch information
romantech committed Dec 24, 2023
1 parent 9cf3d47 commit a94640f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/components/modal/confirm-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ConfirmPopover({
return (
<Popover isOpen={isOpen} onClose={onClose} {...popoverProps}>
<PopoverTrigger>
<Box as="button">{children({ onOpen, isOpen })}</Box>
<Box>{children({ onOpen, isOpen })}</Box>
</PopoverTrigger>
<Portal>
<PopoverContent w="fit-content" minW={220}>
Expand Down

0 comments on commit a94640f

Please sign in to comment.