Skip to content

Commit 1ea9748

Browse files
authored
fix: 매칭 서비스 blog 페이지 연결
1 parent 3a055e2 commit 1ea9748

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/MatchingModal/MatchingModal.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ const MatchingModal = ({ isOpen, onClose, matchedIds = [] }) => {
113113
}
114114
};
115115

116-
const handleProfileClick = (blogUrl) => {
117-
if (blogUrl) window.open(blogUrl, "_blank");
116+
const handleProfileClick = (userId) => {
117+
if (userId) window.open(`/blog/${userId}`, "_blank");
118118
};
119119

120120
useEffect(() => {
@@ -148,7 +148,7 @@ const MatchingModal = ({ isOpen, onClose, matchedIds = [] }) => {
148148
<div
149149
key={user.id}
150150
className="matching-user-card"
151-
onClick={() => handleProfileClick(user.blogUrl)}
151+
onClick={() => handleProfileClick(user.id)}
152152
>
153153
<div className="matching-user-profile">
154154
<div className="matching-user-avatar">

0 commit comments

Comments
 (0)