Skip to content

Commit

Permalink
fix: component import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu committed Feb 10, 2023
1 parent a856e8c commit 206fbfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Chat/Message.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang='ts'>
import { SvgIcon } from '@/components'
import { Icon } from '@/components'
interface Props {
user?: boolean
Expand All @@ -18,7 +18,7 @@ defineProps<Props>()
:class="[user ? 'ml-3' : 'mr-3']"
>
<img v-if="user" src="@/assets/avatar.jpg" class="object-cover w-full h-full " alt="avatar">
<SvgIcon v-else local-icon="logo" class="text-[26px]" />
<Icon v-else local-icon="logo" class="text-[26px]" />
</div>
<div class="flex flex-col flex-1 text-sm" :class="[{ 'items-end': user }]">
<span class="text-xs text-[#b4bbc4]">
Expand Down

0 comments on commit 206fbfa

Please sign in to comment.