()
| 166 | } |
| 167 | |
| 168 | function ShellErrorFallback() { |
| 169 | return ( |
| 170 | <main className="flex min-h-screen items-center justify-center bg-background px-6 py-10"> |
| 171 | <section className="w-full max-w-md text-center"> |
| 172 | <div className="mx-auto mb-5 flex size-11 items-center justify-center rounded-full border border-border bg-muted"> |
| 173 | <span className="text-lg font-semibold text-muted-foreground">!</span> |
| 174 | </div> |
| 175 | <h1 className="text-xl font-semibold text-foreground">Something went wrong</h1> |
| 176 | <p className="mt-2 text-sm leading-6 text-muted-foreground"> |
| 177 | We've tracked it. Give refreshing a try, and get in touch if support is needed. |
| 178 | </p> |
| 179 | <p className="mt-6 text-xs font-medium uppercase tracking-wide text-muted-foreground"> |
| 180 | Get support |
| 181 | </p> |
| 182 | <div className="mt-3"> |
| 183 | <SupportOptions /> |
| 184 | </div> |
| 185 | </section> |
| 186 | </main> |
| 187 | ); |
| 188 | } |
| 189 | |
| 190 | function AuthGate() { |
| 191 | const auth = useAuth(); |
nothing calls this directly
no outgoing calls
no test coverage detected