Commit 1bc1f864 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

마이페이지 및 버그 수정

parent 4656d091
......@@ -192,7 +192,7 @@ const MyInfo = () => {
<div className={`d-flex justify-content-around`}>
<div className={`${styles.box}`}>
<p className={`${styles.hoverTxt}`}>프로필 변경</p>
<img src={`/upload/${profile}`} className={`figure-img img-fluid rounded-circle ${styles.img} ${styles.profile}`} role="button" data-bs-toggle="modal" data-bs-target="#staticBackdrop" />
<img src={profile?`/upload/${profile}`:'/images/icons8-customer-100.png'} style={{backgroundColor:'white'}} className={`figure-img img-fluid rounded-circle ${styles.img} ${styles.profile}`} role="button" data-bs-toggle="modal" data-bs-target="#staticBackdrop" />
</div>
<div className="d-flex flex-column py-2 mx-3 justify-content-around">
<span className={`${styles.userName}`}>{`${userNickName}`} 반갑습니다!</span>
......
......@@ -32,7 +32,9 @@ const TheaterPage = () => {
try {
setError("")
const res = await cinemaApi.getCinemaInfo()
setTicketFeeInfo(res.moreFeeInfo)
if (res) {
setTicketFeeInfo(res.moreFeeInfo)
}
} catch (error) {
catchErrors(error, setError)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment