Skip to content

Commit

Permalink
chore: improve components
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Jun 11, 2021
1 parent e56d364 commit 46de8ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/defaultTheme/components/organisms/BlockHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
6 changes: 3 additions & 3 deletions src/defaultTheme/components/organisms/PricingBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 46de8ad

Please sign in to comment.