diff --git a/frontend/components/ErrorDisplay.tsx b/frontend/components/ErrorDisplay.tsx index 5b171137..07e4ef1a 100644 --- a/frontend/components/ErrorDisplay.tsx +++ b/frontend/components/ErrorDisplay.tsx @@ -3,12 +3,12 @@ import { APIResponseError } from "../utils/api.ts"; export function ErrorDisplay({ error }: { error: APIResponseError }) { return ( -
+

{error.status} - {error.code}

{error.message as string}

Need help? Contact support@deno.com

-
+
x-deno-ray: {error.traceId as "string"}
diff --git a/frontend/components/GitHubRepoInput.tsx b/frontend/components/GitHubRepoInput.tsx index 9add7562..0f365e9f 100644 --- a/frontend/components/GitHubRepoInput.tsx +++ b/frontend/components/GitHubRepoInput.tsx @@ -46,7 +46,7 @@ export function GitHubRepoInput( } return ( -
+
diff --git a/frontend/components/Header.tsx b/frontend/components/Header.tsx index 405c431b..24aefd2b 100644 --- a/frontend/components/Header.tsx +++ b/frontend/components/Header.tsx @@ -6,6 +6,7 @@ import { UserMenu } from "../islands/UserMenu.tsx"; import TbBrandGithub from "@preact-icons/tb/TbBrandGithub"; import { SearchKind } from "../util.ts"; import { HeaderLogo } from "../islands/HeaderLogo.tsx"; +import ThemeToggle from "../islands/ThemeToggle.tsx"; export function Header({ user, @@ -111,6 +112,9 @@ export function Header({ Sign in )} +
+ +
@@ -130,7 +134,7 @@ export function Header({ function Divider() { return ( -