Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit b0d098f

Browse files
authored
Merge pull request #743 from aibtcdev/feat/cards
New UI card
2 parents 50826be + 2364f9e commit b0d098f

3 files changed

Lines changed: 664 additions & 53 deletions

File tree

src/components/proposals/DAOProposals.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import { useMemo, useState, useEffect, useRef, useCallback } from "react";
4-
import ProposalCard from "@/components/proposals/ProposalCard";
4+
import NewProposalCard from "@/components/proposals/NewProposalCard";
55
import type { Proposal } from "@/types";
66
import { FileText, Loader2, Search, X } from "lucide-react";
77
import { DAOTabLayout } from "@/components/aidaos/DAOTabLayout";
@@ -185,11 +185,11 @@ const DAOProposals = ({
185185
</Button>
186186
</div>
187187
) : (
188-
<div className="divide-y">
188+
<div className="grid grid-cols-1 lg:grid-cols-3 gap-4 p-4">
189189
{visibleProposals.map((proposal) => {
190190
const data = proposalDataMap[proposal.id];
191191
return (
192-
<ProposalCard
192+
<NewProposalCard
193193
key={proposal.id}
194194
proposal={proposal}
195195
tokenSymbol={tokenSymbol}

0 commit comments

Comments
 (0)