Skip to content

Commit

Permalink
fix: 버그 수정4
Browse files Browse the repository at this point in the history
  • Loading branch information
abcxj123 committed Jun 11, 2024
1 parent 824df97 commit 906e405
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/components/molecules/AccountSummaryItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ export const AccountSummaryItem: FC<IProps> = ({
accountId: accountId,
},
});
return;
}
if (title === '머니박스 통장') navigate('/moneyBox');
else if (title === '하나머니') return;
if (title === '머니박스 통장') {
navigate('/moneyBox');
return;
} else if (title === '하나머니') return;
else navigate(link);
};

Expand Down
2 changes: 1 addition & 1 deletion src/pages/main/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const Home = () => {
</AlertModal>
)}

<div className='fixed w-full'>
<div className='w-full'>
<div className='w-full flex items-center pt-24 px-10'>
<img
src={isExistToken ? 'icons/moneybox_icon.svg' : 'icons/person.svg'}
Expand Down

0 comments on commit 906e405

Please sign in to comment.