Skip to content

Commit

Permalink
🐛fix: ContentHeader.jsx - 리다이렉트 보내도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinHeeEul committed Jun 24, 2024
1 parent 9e71be9 commit 009791d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/main/contents-item/ContentHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ export default function ContentHeader(props) {
}}
>
<img style={{ width: "60px", height: "60px" }} src={props.imgUrl}></img>
<span style={{ fontSize: "24px", color: "#2E2E30" }}>
<span style={{ display: "flex", fontSize: "24px", color: "#2E2E30" }}>
<strong
style={{
fontSize: "30px",
margin: "0 0.5rem",
}}
>
"{props.keyword}"
Expand All @@ -35,7 +36,7 @@ export default function ContentHeader(props) {
display: "flex",
}}
>
<Link to="/main/stock">
<a href={props.toLink}>
<GlowIcon>
<HiChevronDoubleRight
style={{
Expand All @@ -46,7 +47,7 @@ export default function ContentHeader(props) {
}}
></HiChevronDoubleRight>
</GlowIcon>
</Link>
</a>
</div>
</HeaderContentDiv>
);
Expand Down

0 comments on commit 009791d

Please sign in to comment.