Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiop committed Dec 18, 2020
2 parents a7af164 + c46ac91 commit f3fa94c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fe/src/components/molecules/IconText/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Container = styled.div`
display: flex;
align-items: center;
transition: all 0.3s ease-in-out;
justify-content: center;
justify-content: flex-start;
margin: 0.3rem 0;
&:hover {
margin-left: 2.3em;
Expand Down
6 changes: 4 additions & 2 deletions fe/src/components/organisms/MonthInfoHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,19 @@ const MonthInfoHeader = ({
}: MonthInfoHeaderInterface) => {
const { title, owner } = useParams<Params>();
const baseUrl = `/transactions/${owner}/${title}`;
const incomeMoney = `${total.income}원`;
const expenseMoney = `${total.expense}원`;
return (
<S.MonthInfoHeaderContainer>
<S.DateRangeBox dates={date} disabled />
<S.MoneyInfo>
<div className="category-type income">
<div className="category-type__title ">μˆ˜μž…</div>
<div className="total-money">{total.income}</div>
<div className="total-money">{incomeMoney}</div>
</div>
<div className="category-type expense">
<div className="category-type__title">μ§€μΆœ</div>
<div className="total-money">{total.expense}</div>
<div className="total-money">{expenseMoney}</div>
</div>
</S.MoneyInfo>
<Link to={`${baseUrl}/chatting`}>
Expand Down

0 comments on commit f3fa94c

Please sign in to comment.