refactor status page create page

This commit is contained in:
Alex Holliday committed 2026-08-06 14:40:21 -07:00
1 parent 6ceb28d3a1
commit 52c80b9a39
5 files changed
+413 -497

No files matched your search

@@ -9,7 +9,7 @@ import { TextField } from "@/Components/inputs";
interface FormTextFieldProps<T extends FieldValues> extends Omit<
React.ComponentProps<typeof TextField>,
"name" | "error" | "helperText"
"name" | "error"
> {
name: FieldPath<T>;
}
@@ -29,7 +29,7 @@ export const FormTextField = <T extends FieldValues>({
type="text"
value={field.value ?? ""}
error={!!fieldState.error}
helperText={fieldState.error?.message ?? ""}
helperText={fieldState.error?.message ?? rest.helperText ?? ""}
fullWidth
{...rest}
/>