Skip to content

Commit eaf07c8

Browse files
authored
Fix #6823: Datatable loader unstyled non-boolean attribute warning (#6849)
1 parent 0849042 commit eaf07c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lib/datatable/DataTable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ export const DataTable = React.forwardRef((inProps, ref) => {
15461546
},
15471547
ptCallbacks.ptm('loadingIcon')
15481548
);
1549-
const icon = props.loadingIcon || <SpinnerIcon {...loadingIconProps} spin unstyled={props.unstyled} />;
1549+
const icon = props.loadingIcon || <SpinnerIcon {...loadingIconProps} spin />;
15501550
const loadingIcon = IconUtils.getJSXIcon(icon, { ...loadingIconProps }, { props });
15511551
const loadingOverlayProps = mergeProps(
15521552
{

0 commit comments

Comments
 (0)