@ -24,7 +24,7 @@ const ProductInfo = (props: ProductInfoProps) => {
const [visibleTime, setVisibleTime] = useState(false)
const share = () => {
const pathname = `${process.env.REACT_APP_SHARE_LINK}detail?id=${data.id}&type=${data.type}`
const pathname = `${window.origin}/#/detail?id=${data.id}&type=${data.type}`
copy(pathname)
setVisible(true)
}