Skip to content

Commit

Permalink
fix(react): fix trigger asChild, Toast borders
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Jun 1, 2024
1 parent ff02f53 commit 4fe21dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/date-field/DateField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const DateField = forwardRef<HTMLInputElement, DateFieldProps>(

return (
<Popover.Root open={open} onOpenChange={setOpen}>
<Popover.Trigger>
<Popover.Trigger asChild>
<TextField
align={align}
autoComplete="off"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const styles = cva({
neutral: {
bg: { base: 'gray12!', _dark: 'white!' },
color: 'gray1',
borderColor: { base: 'gray12', _dark: 'white' },
borderColor: { base: 'gray12!', _dark: 'white' },
boxShadow: 'md',
'& button': {
color: 'gray8!',
Expand Down

0 comments on commit 4fe21dc

Please sign in to comment.