Fix 'component' case sensitivity

Component does not work in Vue 3
This commit is contained in:
Tim Miller-Williams 2020-04-28 15:17:55 +01:00
parent 16646e1586
commit 8d8183eabb
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
<div class="chat">
<div class="messages">
<div class="msg">
<Component
<component
:is="specialComponent"
:network="network"
:channel="channel"

View File

@ -19,7 +19,7 @@
</template>
<template v-else-if="isAction()">
<span class="from"><span class="only-copy">*** </span></span>
<Component :is="messageComponent" :network="network" :message="message" />
<component :is="messageComponent" :network="network" :message="message" />
</template>
<template v-else-if="message.type === 'action'">
<span class="from"><span class="only-copy">* </span></span>