Skip to content

Commit

Permalink
Merge pull request #138 from fastcampus-711/develop
Browse files Browse the repository at this point in the history
feat: 에러 해결
  • Loading branch information
alreadyme24 authored Jun 11, 2024
2 parents 07426ad + 0fb4cf2 commit 575cfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/DiscountModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function DiscountModal({isOpen, onClose, data} : {isOpen: boolean
</div>
{
label.map((item) => (
<div className="inline-flex w-full justify-center items-center py-3 gap-4 border-t border-grey_200">
<div key={item.label} className="inline-flex w-full justify-center items-center py-3 gap-4 border-t border-grey_200">
<p className="w-1/2 text-center text-grey_500 font-medium">{item.label}</p>
<p className="w-1/2 text-center text-grey_500 font-medium">{Math.abs(item.value).toLocaleString('ko-KR')}</p>
</div>
Expand Down

0 comments on commit 575cfaf

Please sign in to comment.