fix: verify/sign link
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 34s
This commit is contained in:
parent
79e14d45a1
commit
e48a396990
@ -48,14 +48,19 @@ export const DisplaySigit = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.itemWrapper}>
|
<div className={styles.itemWrapper}>
|
||||||
<Link
|
{signedStatus === SigitStatus.Complete && (
|
||||||
to={
|
<Link
|
||||||
signedStatus === SigitStatus.Complete
|
to={appPublicRoutes.verify}
|
||||||
? appPublicRoutes.verify
|
state={{ meta }}
|
||||||
: `${appPrivateRoutes.sign}/${sigitCreateId}`
|
className={styles.insetLink}
|
||||||
}
|
></Link>
|
||||||
className={styles.insetLink}
|
)}
|
||||||
></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 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user