Skip to content

Commit

Permalink
[feat]: 사용하지 않는 유틸함수 제거(#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
devkyoung2 committed Jun 25, 2024
1 parent 14a7504 commit 750066c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/utils/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit 750066c

Please sign in to comment.