style: format

This commit is contained in:
Bentlybro
2026-02-03 11:57:07 +00:00
parent e5420f8bd9
commit a967b0dc63

View File

@@ -109,7 +109,10 @@ export function FileInput(props: Props) {
if (val && typeof val === "object") {
const obj = val as Record<string, unknown>;
if (typeof obj.name === "string") {
return getFileLabel(obj.name, typeof obj.type === "string" ? obj.type : "");
return getFileLabel(
obj.name,
typeof obj.type === "string" ? obj.type : "",
);
}
if (typeof obj.type === "string") {
const mimeParts = obj.type.split("/");