From 1c7f1095d87eefe707b8ed2cfdb202e92242d934 Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Wed, 4 Mar 2026 20:02:12 -0600
Subject: [PATCH] formatting
---
.../config-form/theme/templates/FieldTemplate.tsx | 7 ++-----
web/src/context/auth-context.tsx | 6 +-----
web/src/context/detail-stream-context.tsx | 6 +-----
web/src/views/search/SearchView.tsx | 4 +++-
4 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/web/src/components/config-form/theme/templates/FieldTemplate.tsx b/web/src/components/config-form/theme/templates/FieldTemplate.tsx
index ee1ab482b..20dd967c1 100644
--- a/web/src/components/config-form/theme/templates/FieldTemplate.tsx
+++ b/web/src/components/config-form/theme/templates/FieldTemplate.tsx
@@ -448,11 +448,8 @@ export function FieldTemplate(props: FieldTemplateProps) {
);
};
- const errorsProps = errors?.props as
- | { errors?: unknown[] }
- | undefined;
- const hasFieldErrors =
- !!errors && (errorsProps?.errors?.length ?? 0) > 0;
+ const errorsProps = errors?.props as { errors?: unknown[] } | undefined;
+ const hasFieldErrors = !!errors && (errorsProps?.errors?.length ?? 0) > 0;
const renderStandardLabel = () => {
if (!shouldRenderStandardLabel) {
diff --git a/web/src/context/auth-context.tsx b/web/src/context/auth-context.tsx
index 8789848ca..eae1a8d4a 100644
--- a/web/src/context/auth-context.tsx
+++ b/web/src/context/auth-context.tsx
@@ -102,9 +102,5 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
axios.get("/logout", { withCredentials: true });
};
- return (
-