Skip to content

Commit

Permalink
fix(plugin): fix enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Jan 28, 2024
1 parent 2cf846d commit 121a63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/clients/enhance/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default (ctx: Context) => {
ctx.on('ready', () => {
const config = useConfig()

if (config.value.desktop.enhance !== 'off') {
if (config?.value?.desktop?.enhance !== 'off') {
enhance(config)
ctx.on('dispose', disposeEnhance)
}
Expand Down

0 comments on commit 121a63b

Please sign in to comment.