Skip to content

Commit

Permalink
fix: wrong css and some js
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Aug 2, 2023
1 parent 09e27cd commit 99250ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/Modal/src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const Dialog = styled(Ariakit.Dialog)(
align-self: center;
height: 100%;
max-height: 100%;
flex-direction: column;
overflow: auto;
opacity: 0;
transition: opacity 250ms ease-in-out, margin-top 250ms ease-in-out;
Expand Down
2 changes: 1 addition & 1 deletion packages/RadioGroup/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const RadioGroup = forwardRef<'fieldset', RadioGroupProps>(
onChange?.(valueSelected)
}

const withHint = options.findIndex((obj: Option) => Object.keys(obj).includes('hint')) !== -1
const withHint = options.some((obj: Option) => 'hint' in obj)

return (
<FieldGroup
Expand Down

0 comments on commit 99250ca

Please sign in to comment.