From 4fc5d0918e891abde92fed551bf93b846d466e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 25 May 2023 17:42:59 +0300 Subject: [PATCH] Refactor #3965 - For ScrollTop --- components/lib/scrolltop/BaseScrollTop.vue | 2 +- components/lib/scrolltop/ScrollTop.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/lib/scrolltop/BaseScrollTop.vue b/components/lib/scrolltop/BaseScrollTop.vue index ec4c18cd3..2793893de 100644 --- a/components/lib/scrolltop/BaseScrollTop.vue +++ b/components/lib/scrolltop/BaseScrollTop.vue @@ -39,7 +39,7 @@ const styles = ` const classes = { root: ({ props }) => ['p-scrolltop p-link p-component', { 'p-scrolltop-sticky': props.target !== 'window' }], - icon: ({ props }) => ['p-scrolltop-icon', props.icon] + icon: 'p-scrolltop-icon' }; const { load: loadStyle } = useStyle(styles, { id: 'primevue_scrolltop_style', manual: true }); diff --git a/components/lib/scrolltop/ScrollTop.vue b/components/lib/scrolltop/ScrollTop.vue index fee9fe101..5b46e69ea 100644 --- a/components/lib/scrolltop/ScrollTop.vue +++ b/components/lib/scrolltop/ScrollTop.vue @@ -1,17 +1,17 @@