diff --git a/app/(app)/explore/_sections/UpcomingEvents.tsx b/app/(app)/explore/_sections/UpcomingEvents.tsx index c9d3e0f..6a8fc54 100644 --- a/app/(app)/explore/_sections/UpcomingEvents.tsx +++ b/app/(app)/explore/_sections/UpcomingEvents.tsx @@ -56,7 +56,7 @@ export default function UpcomingEventsSection() {
- {processedEvents?.length > 3 ? ( + {processedEvents?.length ? ( processedEvents.slice(0, 6).map((e, idx) => { return ( diff --git a/components/Modals/ZapPicker.tsx b/components/Modals/ZapPicker.tsx index 1cc09bd..b9b0781 100644 --- a/components/Modals/ZapPicker.tsx +++ b/components/Modals/ZapPicker.tsx @@ -1,11 +1,10 @@ "use client"; -import { useState, useRef, useEffect } from "react"; +import { useState } from "react"; import Template from "./Template"; import { Button } from "@/components/ui/button"; import { useModal } from "@/app/_providers/modal/provider"; import { toast } from "sonner"; import { useNDK } from "@/app/_providers/ndk"; -import useCurrentUser from "@/lib/hooks/useCurrentUser"; import { HiOutlineLightningBolt } from "react-icons/hi"; import { RiSubtractFill, RiAddFill } from "react-icons/ri"; import { formatCount } from "@/lib/utils";