From b6c118eb506e9b69e8fd00fc9e9a611920b121b5 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 25 Nov 2022 21:09:10 +0000 Subject: [PATCH] chore: typo --- components/content/ContentCode.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/content/ContentCode.vue b/components/content/ContentCode.vue index b0647f53..4ffc9bc7 100644 --- a/components/content/ContentCode.vue +++ b/components/content/ContentCode.vue @@ -12,11 +12,11 @@ const langMap: Record = { vue: 'html', } -const hightlighted = computed(() => { +const highlighted = computed(() => { return props.lang ? highlightCode(raw, langMap[props.lang] || props.lang as any) : raw })