adding more
This commit is contained in:
parent
67779ad5bf
commit
9634a2db98
@ -56,7 +56,7 @@ export default function UpcomingEventsSection() {
|
||||
<SectionContent className="relative">
|
||||
<ScrollArea>
|
||||
<div className="flex space-x-2 pb-4 max-sm:px-5">
|
||||
{processedEvents?.length > 3 ? (
|
||||
{processedEvents?.length ? (
|
||||
processedEvents.slice(0, 6).map((e, idx) => {
|
||||
return (
|
||||
<Link key={e.id} href={`/event/${e.encode()}`}>
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user