Skip to content

Commit fef7412

Browse files
raswonderskarelhala
andcommitted
refactor: use BulkSelectSource.checkbox instead of literal
Co-authored-by: Karel Hala <ch4rlien@gmail.com>
1 parent 00ef0b3 commit fef7412

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/module/src/BulkSelect/BulkSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const BulkSelect: FC<BulkSelectProps> = ({
151151
? null
152152
: pageSelected || (selectedCount === totalCount && totalCount > 0)
153153
}
154-
onChange={(checked) => onSelect?.(!checked || checked === null ? noneOption : allOption, 'checkbox')}
154+
onChange={(checked) => onSelect?.(!checked || checked === null ? noneOption : allOption, BulkSelectSource.checkbox)}
155155
{...menuToggleCheckboxProps}
156156
>
157157
{selectedCount > 0 ? (

0 commit comments

Comments
 (0)