This commit is contained in:
focp212@naver.com
2025-10-31 16:37:05 +09:00
parent 003782230b
commit b44c7360bf
2 changed files with 29 additions and 24 deletions

View File

@@ -108,28 +108,30 @@ export const EmailBottomSheet = ({
</div> </div>
<span className="label-text">{t('common.receiveByEmail')}</span> <span className="label-text">{t('common.receiveByEmail')}</span>
</div> </div>
<div className="email-select"> { optionsEmails && optionsEmails.length > 0 &&
<div className="select-wrapper"> <div className="email-select">
<select <div className="select-wrapper">
value={ userEmail } <select
onChange={ (e: ChangeEvent<HTMLSelectElement>) => setUserEmail(e.target.value) } value={ userEmail }
> onChange={ (e: ChangeEvent<HTMLSelectElement>) => setUserEmail(e.target.value) }
{ >
optionsEmails.map((value, index) => ( {
<option optionsEmails.map((value, index) => (
key={ value.value } <option
value={ value.value } key={ value.value }
>{ value.value }</option> value={ value.value }
)) >{ value.value }</option>
} ))
</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>
*/} }
</> </>
} }

View File

@@ -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>
</> </>
); );
}; };