setTab("groups")}>
@@ -281,8 +284,9 @@ export const UserProfile = observer(
) : undefined}
{user.bot ? (
<>
+ {/* FIXME: this too */}
- bot owner
+ {"bot owner"}
@@ -432,12 +436,12 @@ export const UserProfile = observer(
>
);
- if (dummy) return
{children}
;
+ if (isPlaceholder) return
{children}
;
return (
{children}
diff --git a/src/controllers/modals/types.ts b/src/controllers/modals/types.ts
index 1275fe4c..033776a6 100644
--- a/src/controllers/modals/types.ts
+++ b/src/controllers/modals/types.ts
@@ -98,8 +98,8 @@ export type Modal = {
| {
type: "user_profile";
user_id: string;
- dummy?: boolean;
- dummyProfile?: API.UserProfile;
+ isPlaceholder?: boolean;
+ placeholderProfile?: API.UserProfile;
}
| {
type: "create_bot";
diff --git a/src/pages/settings/panes/Profile.tsx b/src/pages/settings/panes/Profile.tsx
index 76f68e37..75b01403 100644
--- a/src/pages/settings/panes/Profile.tsx
+++ b/src/pages/settings/panes/Profile.tsx
@@ -72,8 +72,8 @@ export const Profile = observer(() => {