Skip to content

Commit

Permalink
feat: 마이페이지의 캐릭터에서 상세 정보 페이지로 넘어가는 로직 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yechan-kim committed Nov 23, 2024
1 parent fd053d0 commit 3ac93d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MyPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function HomePage() {
</div>
)}
{character ? (
<div className={styles.characterDetails}>
<div className={styles.characterDetails} onClick={() => window.location.href = `http://localhost:3000/character/${character.name}`}>
<h1 className={`h1_5 ${styles.characterHeader}`}>내 캐릭터 정보</h1>
<img src={character.characterImage} alt="캐릭터 이미지" className={styles.characterImage}/>
<div>
Expand Down

0 comments on commit 3ac93d0

Please sign in to comment.