diff --git a/src/context/intermediate/modals/TokenReveal.tsx b/src/context/intermediate/modals/TokenReveal.tsx index 5fa8a288..a0d8edfd 100644 --- a/src/context/intermediate/modals/TokenReveal.tsx +++ b/src/context/intermediate/modals/TokenReveal.tsx @@ -8,12 +8,17 @@ interface Props { username: string; } -export function TokenRevealModal({ onClose, token,username }: Props) { +export function TokenRevealModal({ onClose, token, username }: Props) { return ( + } actions={[ { onClick: onClose, diff --git a/src/context/intermediate/popovers/CreateBot.tsx b/src/context/intermediate/popovers/CreateBot.tsx index 6010ba4f..48000382 100644 --- a/src/context/intermediate/popovers/CreateBot.tsx +++ b/src/context/intermediate/popovers/CreateBot.tsx @@ -39,7 +39,7 @@ export function CreateBotModal({ onClose, onCreate }: Props) { } actions={[ { confirmation: true, @@ -72,7 +72,7 @@ export function CreateBotModal({ onClose, onCreate }: Props) { /> {error && ( - Failed to create a bot! + )} diff --git a/src/pages/settings/panes/MyBots.tsx b/src/pages/settings/panes/MyBots.tsx index dc05fca7..09b05e1f 100644 --- a/src/pages/settings/panes/MyBots.tsx +++ b/src/pages/settings/panes/MyBots.tsx @@ -203,10 +203,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { {!editMode && ( }> {bot.public ? ( @@ -232,7 +229,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { } else setEditMode(true); }} contrast> - {editMode ? : "Edit"} + {!editMode && ( @@ -259,7 +256,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { } action={}> - Token + )} {editMode && ( @@ -268,12 +265,12 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { checked={data.public} disabled={saving} contrast - description="Whether to allow other users to invite this bot." + description={} onChange={(v) => setData({ ...data, public: v })}> - Public Bot + -

Interactions URL

-
This field is reserved for the future.
+

+
- Copy Invite Link + )} @@ -364,7 +361,7 @@ export const MyBots = observer(() => { }) } action="chevron"> - Create a Bot + {bots?.map((bot) => { return (