From 48fd23064c231f7a46941ce22239150fefcdc352 Mon Sep 17 00:00:00 2001 From: olaservo Date: Sat, 27 Sep 2025 20:39:11 -0700 Subject: [PATCH] Remove unused function --- client/src/utils/paramUtils.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/client/src/utils/paramUtils.ts b/client/src/utils/paramUtils.ts index 69a25a3b..dfc41802 100644 --- a/client/src/utils/paramUtils.ts +++ b/client/src/utils/paramUtils.ts @@ -32,16 +32,3 @@ export function cleanParams( return cleaned; } - -/** - * Checks if a field should be set to undefined when cleared - * @param isRequired - Whether the field is required - * @param value - The current value - * @returns Whether to set the field to undefined - */ -export function shouldSetToUndefined( - isRequired: boolean, - value: string, -): boolean { - return !isRequired && value === ""; -}