From 46de8ad195ba1ee494dd17eec8adfe64293d9813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 11 Jun 2021 12:42:28 +0200 Subject: [PATCH] chore: improve components --- src/defaultTheme/components/organisms/BlockHero.vue | 8 -------- src/defaultTheme/components/organisms/PricingBlock.vue | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/defaultTheme/components/organisms/BlockHero.vue b/src/defaultTheme/components/organisms/BlockHero.vue index 8e5e860aa..21cb4ee5b 100644 --- a/src/defaultTheme/components/organisms/BlockHero.vue +++ b/src/defaultTheme/components/organisms/BlockHero.vue @@ -78,14 +78,6 @@ import { Markdown } from '~docus/utils' export default defineComponent({ components: { Markdown }, props: { - title: { - type: String, - default: 'Hero title' - }, - description: { - type: String, - default: 'I am the Hero description, with some text useful to go with the title.' - }, cta: { type: Array, default: () => ['Get started', '/get-started'] diff --git a/src/defaultTheme/components/organisms/PricingBlock.vue b/src/defaultTheme/components/organisms/PricingBlock.vue index 9e371194f..0552dd4da 100644 --- a/src/defaultTheme/components/organisms/PricingBlock.vue +++ b/src/defaultTheme/components/organisms/PricingBlock.vue @@ -84,15 +84,15 @@ export default defineComponent({ props: { plans: { type: Object, - default: () => {} + default: () => ({}) }, tiers: { type: Object, - default: () => {} + default: () => ({}) }, meta: { type: Object, - default: () => {} + default: () => ({}) } }, setup(props) {