Remove unload from useStyle
parent
f1b73c1cf1
commit
91b362b6a8
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue