From 750066c40e825167884a18a6954a3497654e92b2 Mon Sep 17 00:00:00 2001 From: devkyoung2 Date: Tue, 25 Jun 2024 16:00:54 +0900 Subject: [PATCH] =?UTF-8?q?[feat]:=20=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80?= =?UTF-8?q?=20=EC=95=8A=EB=8A=94=20=EC=9C=A0=ED=8B=B8=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0(#372)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/validate.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/utils/validate.ts b/src/utils/validate.ts index b5154c4a..023d64f7 100644 --- a/src/utils/validate.ts +++ b/src/utils/validate.ts @@ -23,14 +23,3 @@ export const isValidPrice = (price: string) => { export const isEmptyObject = (obj: object): boolean => { return Object.keys(obj).length === 0; }; - -export const isValidFundingPrice = ( - productPrice: number, - fundingPrice: number, -) => { - if (productPrice === fundingPrice) return true; - if (productPrice - fundingPrice < 100) return false; - if (fundingPrice < 100) return false; - - return true; -};