diff --git a/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx b/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx index 31aa3527fb9..c91c687b41e 100644 --- a/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx +++ b/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx @@ -1,6 +1,6 @@ 'use client' -import { Button } from '@sim/emcn' +import { Button, StatusPageContent } from '@sim/emcn' import { useRouter } from 'next/navigation' import { APP_ENTRY_PATH } from '@/lib/navigation/paths' @@ -13,19 +13,16 @@ export function ChatErrorState({ error }: ChatErrorStateProps) { return (
-
-

- Chat Unavailable -

-

{error}

+ -
+
) } diff --git a/apps/sim/app/oauth/credential-connected/page.tsx b/apps/sim/app/oauth/credential-connected/page.tsx index 731d2528983..df4fe94a113 100644 --- a/apps/sim/app/oauth/credential-connected/page.tsx +++ b/apps/sim/app/oauth/credential-connected/page.tsx @@ -1,4 +1,4 @@ -import { ChipLink } from '@sim/emcn' +import { ChipLink, StatusPageContent } from '@sim/emcn' import type { Metadata } from 'next' import { APP_ENTRY_PATH } from '@/lib/navigation/paths' import { LogoShell } from '@/app/(landing)/components/logo-shell' @@ -22,19 +22,18 @@ export default async function CredentialConnectedPage({ return ( -
-

- {connected ? 'Credential connected' : 'Connection failed'} -

-

- {connected + - + : 'The credential could not be connected. Return to the app that started the connection and try again.' + } + > + Open Sim -

+
) } diff --git a/packages/emcn/src/components/status-page/status-page.tsx b/packages/emcn/src/components/status-page/status-page.tsx index 839c520a30f..c07923f5e6d 100644 --- a/packages/emcn/src/components/status-page/status-page.tsx +++ b/packages/emcn/src/components/status-page/status-page.tsx @@ -29,7 +29,7 @@ export function StatusPageContent({ {title}

{description}

-
{children}
+
{children}
{detail} )