Skip to content

Commit a673120

Browse files
committed
perf: use new MDCCached component, more visible skeleton
1 parent 87f1095 commit a673120

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/frontend/app/components/chat/ChatInterface.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ function alertIsStreaming(input: string) {
322322
<div>{{ $t('generating') }}</div>
323323
<div class="spinner h-5 w-5" />
324324
</div>
325-
<MDC v-else :value="m.content" />
325+
<MDCCached v-else :value="m.content" />
326326
<div class="hidden first:block">
327327
<Skeleton
328-
class="h-5 w-$c-W rounded-full" :style="{
328+
class="h-5 w-$c-W rounded-full bg-muted-foreground" :style="{
329329
'--c-W': `${(Math.floor(Math.random() * (300 - 100 + 1)) + 100) * (m.role === 'user' ? 1 : 2)}px`,
330330
}"
331331
/>

0 commit comments

Comments
 (0)