From 34ee0f63da5a028cc6f54404c520d641f44e19cf Mon Sep 17 00:00:00 2001 From: yyy9608 Date: Wed, 10 Jan 2024 15:33:46 +0800 Subject: [PATCH] commit --- src/components/ProductInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ProductInfo.tsx b/src/components/ProductInfo.tsx index 74d4a12..a556175 100644 --- a/src/components/ProductInfo.tsx +++ b/src/components/ProductInfo.tsx @@ -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) }