From e50a29f1b4f2e058d13609d2db396eac09cb09a5 Mon Sep 17 00:00:00 2001 From: Andrey Medvedev Date: Sat, 6 Jul 2024 16:19:22 +0300 Subject: [PATCH] Fix primefaces#6823: Datatable loader unstyled non-boolean attribute warning --- components/lib/datatable/DataTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/DataTable.js b/components/lib/datatable/DataTable.js index 392afcdc67..302479537f 100644 --- a/components/lib/datatable/DataTable.js +++ b/components/lib/datatable/DataTable.js @@ -1546,7 +1546,7 @@ export const DataTable = React.forwardRef((inProps, ref) => { }, ptCallbacks.ptm('loadingIcon') ); - const icon = props.loadingIcon || ; + const icon = props.loadingIcon || ; const loadingIcon = IconUtils.getJSXIcon(icon, { ...loadingIconProps }, { props }); const loadingOverlayProps = mergeProps( {