Skip to content

Commit ad86a1e

Browse files
committed
fix(app): drop the icon from the Bot agency button
It used the sparkles icon, which the account menu already uses for what's new.
1 parent 35827a5 commit ad86a1e

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎app/src/features/crews/CrewView.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Ellipsis, Folder, Plus, Sparkles } from "lucide-react";
1+
import { Ellipsis, Folder, Plus } from "lucide-react";
22
import { useState } from "react";
33
import { useShallow } from "zustand/react/shallow";
44
import { useT } from "../../i18n";
@@ -56,7 +56,7 @@ ${words.openFolderHint}`}
5656
</p>
5757
</div>
5858
<CallPills calls={calls} className="max-w-[45%] justify-end" />
59-
<Button icon={Sparkles} title={t.catalog.openHint} onClick={actions.agency.onSelect}>
59+
<Button title={t.catalog.openHint} onClick={actions.agency.onSelect}>
6060
{actions.agency.label}
6161
</Button>
6262
<Button variant="primary" icon={Plus} onClick={actions.newBot.onSelect}>

‎app/src/features/crews/crewActions.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
Pencil,
88
Play,
99
Plus,
10-
Sparkles,
1110
Trash2,
1211
} from "lucide-react";
1312
import { type ReactNode, useState } from "react";
@@ -113,7 +112,7 @@ export function useCrewActions(crew: Crew): CrewActions {
113112

114113
return {
115114
newBot: { label: t.crews.newBot, icon: Plus, onSelect: () => setOpen("bot") },
116-
agency: { label: t.catalog.open, icon: Sparkles, onSelect: () => setOpen("agency") },
115+
agency: { label: t.catalog.open, onSelect: () => setOpen("agency") },
117116
openFolder,
118117
pause: crew.paused
119118
? { label: words.resume, icon: Play, onSelect: () => setPaused(false) }

0 commit comments

Comments
 (0)