diff --git a/.env b/.env index cd3cba2..f4aea65 100644 --- a/.env +++ b/.env @@ -2,5 +2,5 @@ SKIP_PREFLIGHT_CHECK=true GENERATE_SOURCEMAP=false REACT_APP_BASE_URL='http://14.29.101.215:30307' REACT_APP_WS_URL='ws://14.29.101.215:30307' -REACT_APP_SHARE_LINK='http://14.29.101.215:30305/#/' +REACT_APP_SHARE_LINK='http://14.29.101.215:30306/#/' REACT_APP_SIGN_KEY='9527nft9527_@fsdgfsx' \ No newline at end of file diff --git a/src/components/ProductInfo.tsx b/src/components/ProductInfo.tsx index 02917c3..8e40633 100644 --- a/src/components/ProductInfo.tsx +++ b/src/components/ProductInfo.tsx @@ -21,6 +21,7 @@ const ProductInfo = (props: ProductInfoProps) => { const { likeNft, userInfo } = store.state const { setLike, isLike } = useLike() const [visible, setVisible] = useState(false) + const [visibleTime, setVisibleTime] = useState(false) const share = () => { const pathname = `${process.env.REACT_APP_SHARE_LINK}detail?id=${data.id}&type=${data.type}` @@ -61,21 +62,23 @@ const ProductInfo = (props: ProductInfoProps) => { - {data.type === 1 &&