diff --git a/components/lib/autocomplete/style/AutoCompleteStyle.js b/components/lib/autocomplete/style/AutoCompleteStyle.js index 1b952bea0..0b30ebea5 100644 --- a/components/lib/autocomplete/style/AutoCompleteStyle.js +++ b/components/lib/autocomplete/style/AutoCompleteStyle.js @@ -42,7 +42,7 @@ const classes = { inputToken: 'p-autocomplete-input-token', loadingIcon: 'p-autocomplete-loader', dropdownButton: 'p-autocomplete-dropdown', - panel: ({ props, instance }) => [ + panel: ({ instance }) => [ 'p-autocomplete-panel p-component', { 'p-ripple-disabled': instance.$primevue.config.ripple === false diff --git a/components/lib/treeselect/style/TreeSelectStyle.js b/components/lib/treeselect/style/TreeSelectStyle.js index 7200ebaf9..2315ff372 100644 --- a/components/lib/treeselect/style/TreeSelectStyle.js +++ b/components/lib/treeselect/style/TreeSelectStyle.js @@ -29,7 +29,7 @@ const classes = { tokenLabel: 'p-treeselect-token-label', trigger: 'p-treeselect-trigger', triggerIcon: 'p-treeselect-trigger-icon', - panel: ({ props, instance }) => [ + panel: ({ instance }) => [ 'p-treeselect-panel p-component', { 'p-ripple-disabled': instance.$primevue.config.ripple === false