Skip to content

Commit

Permalink
chore: added error
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Jan 22, 2025
1 parent 41fb380 commit 9976ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/blade/src/components/Table/Table.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,9 @@ const _Table = forwardRef(
}

if (selectionType !== 'none' && hasHoverActions && __DEV__) {
// their is no point of using hover actions with selectionType
throwBladeError({
message: 'Hover actions are not supported with selectionType',
message: 'Consider removing hover actions when selectionType is set',
moduleName: 'Table',
});
}
Expand Down

0 comments on commit 9976ef5

Please sign in to comment.