From 91b362b6a83e25f1b877763f8445f4dfd7aa14b8 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: Wed, 20 Sep 2023 21:25:10 +0300 Subject: [PATCH] Remove unload from useStyle --- components/lib/rating/BaseRating.vue | 2 +- components/lib/slider/BaseSlider.vue | 2 +- components/lib/toolbar/BaseToolbar.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/rating/BaseRating.vue b/components/lib/rating/BaseRating.vue index 33a796c85..f139c998d 100644 --- a/components/lib/rating/BaseRating.vue +++ b/components/lib/rating/BaseRating.vue @@ -46,7 +46,7 @@ const classes = { offIcon: 'p-rating-icon' }; -const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { name: 'rating', manual: true }); +const { load: loadStyle } = useStyle(styles, { name: 'rating', manual: true }); export default { name: 'BaseRating', diff --git a/components/lib/slider/BaseSlider.vue b/components/lib/slider/BaseSlider.vue index 1252c4200..b47bf591b 100644 --- a/components/lib/slider/BaseSlider.vue +++ b/components/lib/slider/BaseSlider.vue @@ -60,7 +60,7 @@ const classes = { handle: 'p-slider-handle' }; -const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { name: 'slider', manual: true }); +const { load: loadStyle } = useStyle(styles, { name: 'slider', manual: true }); export default { name: 'BaseSlider', diff --git a/components/lib/toolbar/BaseToolbar.vue b/components/lib/toolbar/BaseToolbar.vue index 88200fddf..506173309 100644 --- a/components/lib/toolbar/BaseToolbar.vue +++ b/components/lib/toolbar/BaseToolbar.vue @@ -31,7 +31,7 @@ const classes = { end: 'p-toolbar-group-end p-toolbar-group-right' }; -const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { name: 'toolbar', manual: true }); +const { load: loadStyle } = useStyle(styles, { name: 'toolbar', manual: true }); export default { name: 'BaseToolbar',