diff --git a/theme/src/client/components/Home/VPHomeDocHero.vue b/theme/src/client/components/Home/VPHomeDocHero.vue index 2e8d374a..29521afc 100644 --- a/theme/src/client/components/Home/VPHomeDocHero.vue +++ b/theme/src/client/components/Home/VPHomeDocHero.vue @@ -2,8 +2,12 @@ import type { PlumeThemeHomeDocHero } from '../../../shared/index.js' import VPButton from '@theme/VPButton.vue' import VPImage from '@theme/VPImage.vue' +import { computed } from 'vue' -defineProps() +const props = defineProps() + +const hero = computed(() => props.hero ?? {}) +const actions = computed(() => hero.value.actions ?? [])