Handle linking from feed

This commit is contained in:
Ian Philips 2022-05-17 10:00:09 -06:00
parent 8337cb251f
commit 1afda07525

View File

@ -22,7 +22,7 @@ export function CopyLinkDateTimeComponent(props: {
) {
event.preventDefault()
let currentLocation = window.location.href.includes('/home?u=')
let currentLocation = window.location.href.includes('/home')
? `https://${ENV_CONFIG.domain}${contractPath(contract)}#${elementId}`
: window.location.href
if (currentLocation.includes('#')) {