수정
This commit is contained in:
@@ -108,6 +108,7 @@ export const EmailBottomSheet = ({
|
|||||||
</div>
|
</div>
|
||||||
<span className="label-text">{t('common.receiveByEmail')}</span>
|
<span className="label-text">{t('common.receiveByEmail')}</span>
|
||||||
</div>
|
</div>
|
||||||
|
{ optionsEmails && optionsEmails.length > 0 &&
|
||||||
<div className="email-select">
|
<div className="email-select">
|
||||||
<div className="select-wrapper">
|
<div className="select-wrapper">
|
||||||
<select
|
<select
|
||||||
@@ -125,11 +126,12 @@ export const EmailBottomSheet = ({
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/*
|
}
|
||||||
|
{ (!optionsEmails || optionsEmails.length === 0) &&
|
||||||
<div className="error-message">
|
<div className="error-message">
|
||||||
<p>등록된 메일 정보가 없습니다.<br />이메일 인증정보를 사용자관리 메뉴에서 추가 후 신청하세요.</p>
|
<p>등록된 메일 정보가 없습니다.<br />이메일 인증정보를 사용자관리 메뉴에서 추가 후 신청하세요.</p>
|
||||||
</div>
|
</div>
|
||||||
*/}
|
}
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ import { EscrowMailResendBottomSheet } from '@/entities/transaction/ui/escrow-ma
|
|||||||
import { useEscrowMailResendMutation } from '@/entities/transaction/api/use-escrow-mail-resend-mutation';
|
import { useEscrowMailResendMutation } from '@/entities/transaction/api/use-escrow-mail-resend-mutation';
|
||||||
import { MerchantInfoSection } from '@/entities/transaction/ui/section/merchant-info-section';
|
import { MerchantInfoSection } from '@/entities/transaction/ui/section/merchant-info-section';
|
||||||
import { AmountInfoSection } from '@/entities/transaction/ui/section/amount-info-section';
|
import { AmountInfoSection } from '@/entities/transaction/ui/section/amount-info-section';
|
||||||
|
import { EmailBottomSheet } from '@/entities/common/ui/email-bottom-sheet';
|
||||||
|
|
||||||
export const EscrowDetailPage = () => {
|
export const EscrowDetailPage = () => {
|
||||||
const { navigate } = useNavigate();
|
const { navigate } = useNavigate();
|
||||||
@@ -196,11 +197,13 @@ export const EscrowDetailPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<EscrowMailResendBottomSheet
|
<EmailBottomSheet
|
||||||
setBottomSheetOn={ setBottomSheetOn }
|
setBottomSheetOn={ setBottomSheetOn }
|
||||||
bottomSheetOn={ bottomSheetOn }
|
bottomSheetOn={ bottomSheetOn }
|
||||||
callMailResend={ callMailResend }
|
imageSave={ false }
|
||||||
></EscrowMailResendBottomSheet>
|
sendEmail={ true }
|
||||||
|
sendRequest={ callMailResend }
|
||||||
|
></EmailBottomSheet>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user