Add Sigit ID as a path param #195

Merged
b merged 12 commits from issue-171 into staging 2024-10-07 09:16:30 +00:00
Showing only changes of commit e48a396990 - Show all commits

View File

@ -48,14 +48,19 @@ export const DisplaySigit = ({
return ( return (
<div className={styles.itemWrapper}> <div className={styles.itemWrapper}>
{signedStatus === SigitStatus.Complete && (
<Link <Link
to={ to={appPublicRoutes.verify}
signedStatus === SigitStatus.Complete state={{ meta }}
? appPublicRoutes.verify
: `${appPrivateRoutes.sign}/${sigitCreateId}`
}
className={styles.insetLink} className={styles.insetLink}
></Link> ></Link>
)}
{signedStatus !== SigitStatus.Complete && (
<Link
to={`${appPrivateRoutes.sign}/${sigitCreateId}`}
className={styles.insetLink}
></Link>
)}
<p className={`line-clamp-2 ${styles.title}`}>{title}</p> <p className={`line-clamp-2 ${styles.title}`}>{title}</p>
<div className={styles.users}> <div className={styles.users}>
{submittedBy && {submittedBy &&