Skip to content

Commit

Permalink
fix(OACodeBlock): isDark value
Browse files Browse the repository at this point in the history
  • Loading branch information
enzonotario committed Jan 21, 2025
1 parent 17ad65a commit 4b750ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Common/OACodeBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ watch(
html.value = shiki.renderShiki(props.code, {
lang: props.lang,
theme: isDark ? 'vitesse-dark' : 'vitesse-light',
theme: isDark.value ? 'vitesse-dark' : 'vitesse-light',
})
},
{
Expand Down

0 comments on commit 4b750ca

Please sign in to comment.