Skip to content

Commit

Permalink
fix: vercel key-prop issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
yashsehgal committed Oct 11, 2023
1 parent 17883b4 commit e8d7005
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions components/sections/recent-qna-sessions-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ const RecentQnASessionsList: React.FunctionComponent = () => {
{"Recent sessions"}
</h3>
<ComponentList>
{RecentSessionsData.map(obj => {
{RecentSessionsData.map((recentSession, index) => {
return (
<div>
<RecentSessions lastMessageContent={obj.lastMessageContent} sessionID={obj.sessionID} title={obj.title} />
<h4 className={"font-semibold text-xl leading-7 p-2"}>{obj.title}</h4>
<div
key={index}
>
<RecentSessions lastMessageContent={recentSession.lastMessageContent} sessionID={recentSession.sessionID} title={recentSession.title} />
<h4 className={"font-semibold text-xl leading-7 p-2"}>{recentSession.title}</h4>
</div>
)
}
Expand Down

0 comments on commit e8d7005

Please sign in to comment.