style: format code biome
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import { positiveBigInt } from "@/lib/api";
|
||||
|
||||
export function formPositiveBigInt(formData: FormData, field: string): bigint | null {
|
||||
const value = formData.get(field);
|
||||
return typeof value === "string" ? positiveBigInt(value.trim()) : null;
|
||||
export function formPositiveBigInt(
|
||||
formData: FormData,
|
||||
field: string,
|
||||
): bigint | null {
|
||||
const value = formData.get(field);
|
||||
return typeof value === "string" ? positiveBigInt(value.trim()) : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user