Skip to content

Commit

Permalink
fix: 훅 내에서 errorIndexList 사용하고 있지 않아서 제거했습니다.
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhokim98 committed Aug 16, 2024
1 parent 085cbaa commit 989b88f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const AddBillActionListModalContent = ({setIsOpenBottomSheet}: AddBillActionList
inputPairList,
inputRefList,
errorMessage,
errorIndexList,
handleInputChange,
getFilledInputPairList,
deleteEmptyInputPairElementOnBlur,
Expand Down Expand Up @@ -48,7 +47,6 @@ const AddBillActionListModalContent = ({setIsOpenBottomSheet}: AddBillActionList
onBlur={() => deleteEmptyInputPairElementOnBlur()} // TODO: (@weadie) 이 블러프롭이 내부적으로 index를 넘기고 있기 때문에 화살표 함수로 써야만하내요..
placeholder="지출 내역"
ref={el => (inputRefList.current[index * 2] = el)}
isError={errorIndexList.includes(index)}
/>
<LabelGroupInput.Element
elementKey={`${index}`}
Expand All @@ -59,7 +57,6 @@ const AddBillActionListModalContent = ({setIsOpenBottomSheet}: AddBillActionList
onBlur={() => deleteEmptyInputPairElementOnBlur()}
placeholder="금액"
ref={el => (inputRefList.current[index * 2 + 1] = el)}
isError={errorIndexList.includes(index)}
/>
</div>
))}
Expand Down

0 comments on commit 989b88f

Please sign in to comment.