Skip to content

Commit

Permalink
fix bug in render_category_selection
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Dec 5, 2024
1 parent 87cbcd8 commit 2f5f29a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/src/lib/components/RenderCategorySelection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@
}
</script>

<!-- Rename to get_category_selection.svelte -->

<div class="flex flex-col gap-y-3 h-full">
<div class="flex flex-col gap-y-3 w-full">
<ChatListItem type="user" {content} />

{#if detectingCategory}
<ChatListItem type="assistant" content="Auto-detecting content category..." loading>
<ChatListItem
type="assistant"
content="Auto-detecting content category..."
loading
createdAt={Date.now()}
>
<span slot="loading" class="animate-pulse">
Auto-detecting content category...Please wait
</span>
Expand Down

0 comments on commit 2f5f29a

Please sign in to comment.