Skip to content

Commit

Permalink
fix(sidebar): sidebar llm avatar update
Browse files Browse the repository at this point in the history
  • Loading branch information
10cl committed May 7, 2024
1 parent 0d9d08d commit a0b8bdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/components/SwitchBotDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ const SwitchBotDropdown: FC<Props> = (props) => {
className="px-4 py-2 ui-active:bg-primary-blue ui-active:text-white ui-not-active:text-secondary-text cursor-pointer flex flex-row items-center gap-3 pr-8"
onClick={() => onSelect(botId)}
>
{props.type != "page" && (<div className="w-4 h-4">
<img src={bot.avatar} className="w-4 h-4" />
</div>)}
<p className="text-sm whitespace-nowrap">{bot.name}</p>
</div>
</Menu.Item>
Expand Down

0 comments on commit a0b8bdc

Please sign in to comment.