usePreset instead of updatePreset

pull/7277/head
Cagatay Civici 2025-02-18 22:37:41 +03:00
parent 0c1816e4f5
commit f9070d0478
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
<script>
import EventBus from '@/app/AppEventBus';
import { $dt, updatePreset, usePreset } from '@primeuix/themes';
import { $dt, usePreset } from '@primeuix/themes';
export default {
setup() {
@ -143,7 +143,7 @@ export default {
this.refreshACTokens();
}
updatePreset(theme.preset);
usePreset(theme.preset);
EventBus.emit('theme-palette-change');
},
camelCaseToDotCase(name) {