Skip to content

Commit

Permalink
issue #138 refactor: link tag disabled add
Browse files Browse the repository at this point in the history
  • Loading branch information
sikkzz committed Feb 15, 2024
1 parent 92ad241 commit 080c514
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Group/GroupInfoList/GroupInfoList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ const GroupInfoList = ({ groups, scrollRef, isRequest }) => {
)}
</OptionDiv>
)}
<Link to={!optionMenuOpenedFeedIndex && `/group/${info.groupId}`}>
<Link
to={`/group/${info.groupId}`}
onClick={(e) => optionMenuOpenedFeedIndex && e.preventDefault()}
>
<img src={info.image} alt="groupImg" />
<h3>{info.name}</h3>
<p>{info.description}</p>
Expand Down

0 comments on commit 080c514

Please sign in to comment.