diff --git a/devcon-api/src/controllers/push-notifications.ts b/devcon-api/src/controllers/push-notifications.ts index aab725c86..43e9baf5f 100644 --- a/devcon-api/src/controllers/push-notifications.ts +++ b/devcon-api/src/controllers/push-notifications.ts @@ -12,7 +12,7 @@ const prisma = new PrismaClient() export const pushNotificationRouter = Router() -const whitelist = ['cm233cak10002lxqfrjktv79a', 'cm2kystr5001ogoa7zkxay23l'] +const whitelist = ['cm233cak10002lxqfrjktv79a', 'cm2kystr5001ogoa7zkxay23l', 'clw802l3m0023arj8oi1y3qho'] const isAdmin = (req: CustomRequest, res: Response, next: NextFunction) => { const userId = req.session.userId as string diff --git a/lib/components/ai/overlay.tsx b/lib/components/ai/overlay.tsx index ae6d445cf..eb848e378 100644 --- a/lib/components/ai/overlay.tsx +++ b/lib/components/ai/overlay.tsx @@ -1,16 +1,10 @@ import React, { useEffect, useRef, useState } from "react"; import Image from "next/image"; -// import Link from "next/link"; import Link from "lib/components/link"; -import DevaHead from "./deva.png"; import { Button } from "lib/components/button"; import CloseIcon from "../../assets/icons/cross.svg"; -import AppIcon from "../../assets/icons/app-icons.svg"; -import AppIconOne from "../../assets/icons/app-icons-1.svg"; -import ChevronRight from "../../assets/icons/chevron_right.svg"; import Markdown from "react-markdown"; import { motion, AnimatePresence } from "framer-motion"; -import Loader from "lib/components/loader"; import { useRecoilState, useResetRecoilState, atom } from "recoil"; import { CircleIcon } from "lib/components/circle-icon"; import { FancyLoader } from "lib/components/loader/loader"; @@ -24,12 +18,6 @@ import SquareSparkles from "lib/assets/icons/square-sparkle.svg"; import AIImage from "./ai-generate.png"; import ScrollDownIcon from "lib/assets/icons/scroll-down.svg"; import SendIcon from "lib/assets/icons/send.svg"; -import SquaresIcon from "lib/assets/icons/squares.svg"; -import { - Popover, - PopoverTrigger, - PopoverContent, -} from "lib/components/ui/popover"; import { visibleState, queryState, @@ -760,7 +748,7 @@ const DevaBot = ({ {!isAtBottom && ( {messages.length > 0 && !executingQuery && ( -
+