Execute oxfmt (#1166)

Ran
pnpm oxfmt .

This should get the web repo aligned so that we can better enforce oxfmt going forward.
This commit is contained in:
Austin
2026-06-16 20:30:08 -04:00
committed by GitHub
parent c5690d1edb
commit d2cb51d489
378 changed files with 5548 additions and 1974 deletions
+19 -6
View File
@@ -37,7 +37,8 @@ export function ErrorPage({ error }: { error: Error }) {
href={newGithubIssueUrl({
repoUrl: "https://github.com/meshtastic/web",
template: "bug.yml",
title: "[Bug]: An unhandled error occurred. <Add details here>",
title:
"[Bug]: An unhandled error occurred. <Add details here>",
logs: error?.stack,
})}
/>,
@@ -54,22 +55,34 @@ export function ErrorPage({ error }: { error: Error }) {
</div>
<div className="hidden md:block md:max-w-64 lg:max-w-80 w-full aspect-suqare">
<img src="/chirpy.svg" alt="Chirpy the Meshtastic error" className="max-w-full h-auto" />
<img
src="/chirpy.svg"
alt="Chirpy the Meshtastic error"
className="max-w-full h-auto"
/>
</div>
</section>
<details className="mt-8 px-4 md:px-8 text-lg md:text-xl space-y-2 text-md whitespace-pre-wrap break-all">
<summary className="cursor-pointer">{t("errorPage.detailsSummary")}</summary>
<summary className="cursor-pointer">
{t("errorPage.detailsSummary")}
</summary>
<span className="text-sm mt-4">
{error?.message && (
<>
<label htmlFor="message">{t("errorPage.errorMessageLabel")}</label>
<p className="text-slate-400 break-words overflow-wrap">{error.message}</p>
<label htmlFor="message">
{t("errorPage.errorMessageLabel")}
</label>
<p className="text-slate-400 break-words overflow-wrap">
{error.message}
</p>
</> // TODO: Use Trans for the label and message together?
)}
{error?.stack && (
<>
<label htmlFor="stack">{t("errorPage.stackTraceLabel")}</label>
<p className="text-slate-400 break-words overflow-wrap">{error.stack}</p>
<p className="text-slate-400 break-words overflow-wrap">
{error.stack}
</p>
</>
)}
{!error?.message && !error?.stack && (