Remove unload from useStyle

pull/4485/head
Tuğçe Küçükoğlu 2023-09-20 21:25:10 +03:00
parent f1b73c1cf1
commit 91b362b6a8
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ const classes = {
offIcon: 'p-rating-icon' 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 { export default {
name: 'BaseRating', name: 'BaseRating',

View File

@ -60,7 +60,7 @@ const classes = {
handle: 'p-slider-handle' 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 { export default {
name: 'BaseSlider', name: 'BaseSlider',

View File

@ -31,7 +31,7 @@ const classes = {
end: 'p-toolbar-group-end p-toolbar-group-right' 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 { export default {
name: 'BaseToolbar', name: 'BaseToolbar',