Skip to content

Commit

Permalink
Update CommunityPost.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Sniij authored Sep 8, 2024
1 parent 1f38d22 commit c075025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/page/community/CommunityPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ const Commpost = () => {
return (
<CommunitypostDesign>
{currentItems &&
currentItems.map((el) => (
currentItems.map((el, index) => (
<ul
key={el.commuId}
className="list"
onClick={() => {
goBoard(el);
}}
>
<li className="postid">{el.commuId}</li>
<li className="postid">{data.length - (itemOffset + index ) + el.commuId.substring(el.commuId.length - 2) }</li>
<li className="postname">{el.displayName}</li>
<li className="posttitle">
{el.title.length > 20
Expand Down

0 comments on commit c075025

Please sign in to comment.