From dbb41dfd6b6a41046e61cc4b154173a107d5d975 Mon Sep 17 00:00:00 2001 From: xieqiancaosissi Date: Wed, 4 Sep 2024 10:56:45 +0800 Subject: [PATCH] update delta ad (#94) --- components/popup/components/DeltaCarouse.tsx | 9 +-------- components/popup/index.tsx | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/components/popup/components/DeltaCarouse.tsx b/components/popup/components/DeltaCarouse.tsx index 9e9e0858..09abb94e 100644 --- a/components/popup/components/DeltaCarouse.tsx +++ b/components/popup/components/DeltaCarouse.tsx @@ -1,12 +1,5 @@ import React from "react"; export default function DeltaCarouse() { - return ( - - ); + return ; } diff --git a/components/popup/index.tsx b/components/popup/index.tsx index 95700316..9df09e86 100644 --- a/components/popup/index.tsx +++ b/components/popup/index.tsx @@ -16,7 +16,7 @@ const Popup = ({ className }) => { const [show, setShow] = useState(false); const router = useRouter(); useEffect(() => { - if (INCENTIVE_POPUP_STATUS === "7") { + if (INCENTIVE_POPUP_STATUS === "8") { setShow(false); } else { setShow(true);