Skip to content

Commit b02d762

Browse files
authored
fix: MRT_ExpandButton 'actionIconProps.title' incorrectly nullish coalescing (#420)
1 parent 7406615 commit b02d762

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/mantine-react-table/src/components/buttons/MRT_ExpandButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ export const MRT_ExpandButton = <TData extends MRT_RowData>({
5959
<Tooltip
6060
disabled={!canExpand && !DetailPanel}
6161
label={
62-
(actionIconProps?.title ?? isExpanded)
62+
actionIconProps?.title ?? (isExpanded
6363
? localization.collapse
64-
: localization.expand
64+
: localization.expand)
6565
}
6666
openDelay={1000}
6767
withinPortal

0 commit comments

Comments
 (0)