File tree Expand file tree Collapse file tree
apps/sim/app/(interfaces)/chat/components/error-state Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use client'
22
3- import { Chip , StatusPageContent } from '@sim/emcn'
3+ import { Button , StatusPageContent } from '@sim/emcn'
44import { useRouter } from 'next/navigation'
55import { APP_ENTRY_PATH } from '@/lib/navigation/paths'
66
@@ -14,15 +14,14 @@ export function ChatErrorState({ error }: ChatErrorStateProps) {
1414 return (
1515 < div className = 'flex flex-1 items-center justify-center px-4 py-16 text-center' >
1616 < StatusPageContent title = 'Chat Unavailable' description = { error } >
17- < Chip
17+ < Button
1818 type = 'button'
1919 variant = 'primary'
20- fullWidth
21- className = 'text-center'
20+ className = 'h-[32px] w-full gap-2 px-2.5 text-sm'
2221 onClick = { ( ) => router . push ( APP_ENTRY_PATH ) }
2322 >
2423 Open Sim
25- </ Chip >
24+ </ Button >
2625 </ StatusPageContent >
2726 </ div >
2827 )
You can’t perform that action at this time.
0 commit comments