adding more
This commit is contained in:
parent
67779ad5bf
commit
9634a2db98
@ -56,7 +56,7 @@ export default function UpcomingEventsSection() {
|
|||||||
<SectionContent className="relative">
|
<SectionContent className="relative">
|
||||||
<ScrollArea>
|
<ScrollArea>
|
||||||
<div className="flex space-x-2 pb-4 max-sm:px-5">
|
<div className="flex space-x-2 pb-4 max-sm:px-5">
|
||||||
{processedEvents?.length > 3 ? (
|
{processedEvents?.length ? (
|
||||||
processedEvents.slice(0, 6).map((e, idx) => {
|
processedEvents.slice(0, 6).map((e, idx) => {
|
||||||
return (
|
return (
|
||||||
<Link key={e.id} href={`/event/${e.encode()}`}>
|
<Link key={e.id} href={`/event/${e.encode()}`}>
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import { useState, useRef, useEffect } from "react";
|
import { useState } from "react";
|
||||||
import Template from "./Template";
|
import Template from "./Template";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { useModal } from "@/app/_providers/modal/provider";
|
import { useModal } from "@/app/_providers/modal/provider";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { useNDK } from "@/app/_providers/ndk";
|
import { useNDK } from "@/app/_providers/ndk";
|
||||||
import useCurrentUser from "@/lib/hooks/useCurrentUser";
|
|
||||||
import { HiOutlineLightningBolt } from "react-icons/hi";
|
import { HiOutlineLightningBolt } from "react-icons/hi";
|
||||||
import { RiSubtractFill, RiAddFill } from "react-icons/ri";
|
import { RiSubtractFill, RiAddFill } from "react-icons/ri";
|
||||||
import { formatCount } from "@/lib/utils";
|
import { formatCount } from "@/lib/utils";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user