Skip to content

Commit

Permalink
fix: DB extension collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Jun 7, 2023
1 parent 5d3c1d2 commit 5943f92
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ const ExtraOptions = ({
</div>
}
key={extraExtension?.title}
collapsible={extraExtension.enabled?.() ? 'header' : 'disabled'}
// @ts-ignore, 'icon' is valid in >=4.9.0 but missing from `CollapsibleType`
collapsible={extraExtension.enabled?.() ? 'icon' : 'disabled'}
>
<StyledInputContainer css={no_margin_bottom}>
<ExtraExtensionComponent db={db} onEdit={extraExtension.onEdit} />
Expand Down

0 comments on commit 5943f92

Please sign in to comment.