Skip to content

Commit

Permalink
fix: #6 #7 입출 표시 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leestana01 committed Aug 16, 2024
1 parent 0df473b commit c4b8764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/event/components/EventLog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function EventLog({e}) {
<ElementLog onClick={() => setShowModal(true)}>
<ElementLeft>
{
e.amount >= 0 ? (
e.status === "FEE" ? (
<CircleForType $color={colorSet.deposit}></CircleForType>
) : (
<CircleForType $color={colorSet.withdraw}></CircleForType>
Expand All @@ -87,7 +87,7 @@ export default function EventLog({e}) {
</TitleContainer>
</ElementLeft>
<ElementRight
$color={e.amount >= 0
$color={e.status === "FEE"
? `${colorSet.deposit}` : `${colorSet.withdraw}`}
>
{e.amount?.toLocaleString()}
Expand Down
2 changes: 1 addition & 1 deletion src/event/eventUnclassified/components/UnclassifiedLog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function UnclassifiedLog({e}) {
</TitleContainer>
</ElementLeft>
<ElementRight
$color={e.amount >= 0
$color={e.status === "FEE"
? `${colorSet.deposit}` : `${colorSet.withdraw}`}
>
{e.amount?.toLocaleString()}
Expand Down

0 comments on commit c4b8764

Please sign in to comment.