Skip to content

Commit

Permalink
fix: default slot is now a method
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Aug 13, 2024
1 parent d17a539 commit bc22c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/15Years/15YearsButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
if (this.href) {
options.attrs.href = this.href;
}
return h(this.tag, options, this.$slots.default);
return h(this.tag, options, this.$slots.default());
},
props: {
to: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Kv/KvButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
if (this.href) {
options.attrs.href = this.href;
}
return h(this.tag, options, this.$slots.default);
return h(this.tag, options, this.$slots.default());
},
props: {
to: { default: null },
Expand Down

0 comments on commit bc22c53

Please sign in to comment.