Skip to content

Commit

Permalink
fix: pass correct parsedCredential prop to CredentialInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatrakazas committed Feb 24, 2025
1 parent b359e98 commit 038bd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/History/HistoryDetailContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const HistoryDetailContent = ({ historyItem }) => {
{/* Render details of the currently selected credential */}
{vcEntities[currentSlide - 1] && (
<div className={`pt-5 ${screenType !== 'mobile' ? 'overflow-y-auto items-center custom-scrollbar max-h-[30vh]' : ''} `}>
<CredentialInfo parsedCredential={vcEntities[currentSlide - 1]} />
<CredentialInfo parsedCredential={vcEntities[currentSlide - 1].parsedCredential} />
</div>
)}
</div>
Expand Down

0 comments on commit 038bd5e

Please sign in to comment.