|
|
@@ -91,8 +91,9 @@ const SharedPage: NextPage<Props> = (props: Props) => {
|
|
|
</div>
|
|
|
)}
|
|
|
|
|
|
- { (props.isExpired && !props.disableLinkSharing) && (
|
|
|
+ { (props.isExpired && !props.disableLinkSharing && shareLink != null) && (
|
|
|
<div className="container-lg">
|
|
|
+ <ShareLinkAlert expiredAt={shareLink.expiredAt} createdAt={shareLink.createdAt} />
|
|
|
<h2 className="text-muted mt-4">
|
|
|
<i className="icon-ban" aria-hidden="true" />
|
|
|
<span> Page is expired</span>
|