From cb58166244e6f1dacd1eb905b4f2ce4497c8d319 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Mon, 1 Aug 2022 16:53:54 +0600 Subject: [PATCH] [website] close annoying popup button --- website/components/AdDetector.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/website/components/AdDetector.tsx b/website/components/AdDetector.tsx index 622c272d3..33de86ec7 100644 --- a/website/components/AdDetector.tsx +++ b/website/components/AdDetector.tsx @@ -1,5 +1,6 @@ import { Button, + CloseButton, Heading, Modal, ModalBody, @@ -9,6 +10,7 @@ import { ModalOverlay, Stack, Text, + Tooltip, useDisclosure, VStack, } from "@chakra-ui/react"; @@ -76,8 +78,16 @@ const AdDetector: FC<{ children: ReactNode }> = ({ children }) => { justifyContent="space-between" alignItems="center" p="5" + pos="relative" > - + + setAdBlockEnabled(false)} + /> + Here's something interesting: