diff --git a/src/components/BotAccountAlert.tsx b/src/components/BotAccountAlert.tsx
index 5de4721ece..82b2517a27 100644
--- a/src/components/BotAccountAlert.tsx
+++ b/src/components/BotAccountAlert.tsx
@@ -5,9 +5,9 @@ import {Trans} from '@lingui/react/macro'
import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button'
-import type * as Dialog from '#/components/Dialog'
+import * as Dialog from '#/components/Dialog'
import {Robot_Filled_Corner2_Rounded as RobotIcon} from '#/components/icons/Robot'
-import * as Prompt from '#/components/Prompt'
+import {Text} from '#/components/Typography'
import {navigate} from '#/Navigation'
export function BotAccountAlert({
@@ -25,33 +25,49 @@ export function BotAccountAlert({
: 'This account has been marked as automated by its owner'
return (
-
-
-
+
+
+
-
+
{description}
-
-
-
- {}} color="primary" />
- {isOwn ? (
+
+
- ) : null}
-
-
+ {isOwn ? (
+
+ ) : null}
+
+
+
)
}
diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx
index 403a28ef09..234f1871f2 100644
--- a/src/components/Dialog/index.tsx
+++ b/src/components/Dialog/index.tsx
@@ -125,7 +125,9 @@ function OuterAlert({
a.overflow_hidden,
]}>
- {children}
+
+ {children}
+
diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx
index d11eddde1f..fead8b49bb 100644
--- a/src/components/Prompt.tsx
+++ b/src/components/Prompt.tsx
@@ -111,7 +111,6 @@ export function TitleText({
style,
}: React.PropsWithChildren) {
const {titleId} = useContext(Context)
- const {type} = Dialog.useDialogContext()
return (
{children}
@@ -135,18 +133,11 @@ export function DescriptionText({
}: React.PropsWithChildren<{selectable?: boolean}>) {
const t = useTheme()
const {descriptionId} = useContext(Context)
- const {type} = Dialog.useDialogContext()
return (
+ style={[a.text_md, a.leading_snug, t.atoms.text_contrast_high, a.pb_lg]}>
{children}
)