Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Apr 22, 2024
1 parent 732d827 commit 5740af0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/views/chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ function getDataFromResponseText(responseText: string): string {
<PromptGallery @usePrompt="handleUsePrompt"></PromptGallery>
</template>
<template v-else>
<div >
<Message v-for="(item, index) of dataSources" :key="index" :date-time="item.dateTime"
<div>
<Message v-for="(item, index) of dataSources" :key="index" :date-time="item.dateTime"
:model="chatSession?.model" :text="item.text" :inversion="item.inversion" :error="item.error"
:is-prompt="item.isPrompt" :is-pin="item.isPin" :loading="item.loading" :pining="pining" :index="index"
@regenerate="onRegenerate(index)" @delete="handleDelete(index)" @toggle-pin="handleTogglePin(index)"
Expand Down

0 comments on commit 5740af0

Please sign in to comment.