Skip to content

Commit 5ea03d5

Browse files
committed
fix(vue): Make bot prop null by default
1 parent da854cb commit 5ea03d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/vue/src/components/DiscordMessage.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ export default defineComponent({
5151
props: {
5252
author: String,
5353
avatar: String,
54-
bot: Boolean,
54+
bot: {
55+
type: Boolean,
56+
'default': null,
57+
},
5558
edited: Boolean,
5659
profile: String,
5760
roleColor: String,

0 commit comments

Comments
 (0)