Skip to content

Commit

Permalink
Fix #6823: Datatable loader unstyled non-boolean attribute warning (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
meddvedev authored Jul 6, 2024
1 parent 0849042 commit eaf07c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ export const DataTable = React.forwardRef((inProps, ref) => {
},
ptCallbacks.ptm('loadingIcon')
);
const icon = props.loadingIcon || <SpinnerIcon {...loadingIconProps} spin unstyled={props.unstyled} />;
const icon = props.loadingIcon || <SpinnerIcon {...loadingIconProps} spin />;
const loadingIcon = IconUtils.getJSXIcon(icon, { ...loadingIconProps }, { props });
const loadingOverlayProps = mergeProps(
{
Expand Down

0 comments on commit eaf07c8

Please sign in to comment.