Skip to content

Commit

Permalink
fix(connection-2023#337): 빌드 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunseo-jo committed Mar 24, 2024
1 parent 853d1e8 commit 51b9267
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { useState } from 'react';
import { toast } from 'react-toastify';
import { BANK_CODE_TO_NAME } from '@/constants/constants';
import { CloseSVG, ArrowUpSVG, CopySVG } from '@/icons/svg';
import { getAccountInfo } from '@/lib/apis/paymentApis';
import { formatShortDate, formatDateTimeNoSec } from '@/utils/dateTimeUtils';
Expand Down Expand Up @@ -176,11 +177,13 @@ const PaymentList = (props: PaymentListProps) => {
<li className="flex gap-5 whitespace-nowrap">
<p className="w-[3.3rem] font-semibold">입금계좌</p>
<div className="flex flex-col">
{accountDetail.bank.name}
{BANK_CODE_TO_NAME[accountDetail.bankCode]}
<p
onClick={() =>
handleCopyClipBoard(
`${accountDetail.bank.name} ${accountDetail.accountNumber}`,
`${BANK_CODE_TO_NAME[accountDetail.bankCode]} ${
accountDetail.accountNumber
}`,
)
}
className="flex cursor-pointer items-center"
Expand Down

0 comments on commit 51b9267

Please sign in to comment.