From d366e742f718d713a7d9ef168f058e917e15bf60 Mon Sep 17 00:00:00 2001 From: biwasbhandari Date: Sat, 29 Nov 2025 12:57:26 +0545 Subject: [PATCH 1/5] remove animation --- src/components/proposals/ProposalCard.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/proposals/ProposalCard.tsx b/src/components/proposals/ProposalCard.tsx index e37b33d0..f46f8fb3 100644 --- a/src/components/proposals/ProposalCard.tsx +++ b/src/components/proposals/ProposalCard.tsx @@ -15,7 +15,6 @@ import { useProposalStatus } from "@/hooks/useProposalStatus"; import { useProposalVote } from "@/hooks/useProposalVote"; import { Button } from "@/components/ui/button"; import { RefreshCw, AlertCircle } from "lucide-react"; -import { motion } from "framer-motion"; import { safeNumberFromBigInt } from "@/utils/proposal"; import { cn } from "@/lib/utils"; @@ -152,12 +151,7 @@ export default function ProposalCard({ }, [proposal]); return ( - +
- +
); } From f609b5b00e09827632e6342c34e8c8b0c3defafd Mon Sep 17 00:00:00 2001 From: biwasbhandari Date: Sat, 29 Nov 2025 13:09:01 +0545 Subject: [PATCH 2/5] update --- src/components/aidaos/RootDAOPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/aidaos/RootDAOPage.tsx b/src/components/aidaos/RootDAOPage.tsx index 9c0abdbb..2394cf5c 100644 --- a/src/components/aidaos/RootDAOPage.tsx +++ b/src/components/aidaos/RootDAOPage.tsx @@ -429,7 +429,7 @@ export function RootDAOPage({ children, daoName }: RootDAOPageProps) { return (
-
+
{/*
From 7609dcef8064aaef9bd56ee04047c4b5f0075e2d Mon Sep 17 00:00:00 2001 From: biwasbhandari Date: Sat, 29 Nov 2025 13:16:38 +0545 Subject: [PATCH 3/5] update --- src/components/aidaos/RootDAOPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/aidaos/RootDAOPage.tsx b/src/components/aidaos/RootDAOPage.tsx index 2394cf5c..70fd497a 100644 --- a/src/components/aidaos/RootDAOPage.tsx +++ b/src/components/aidaos/RootDAOPage.tsx @@ -428,8 +428,8 @@ export function RootDAOPage({ children, daoName }: RootDAOPageProps) { // }; return ( -
-
+
+
{/*
@@ -625,7 +625,7 @@ details in next post`}
-
+
); } From 91e6acd729bc9b9128ef6224afb36849ea8fc7ba Mon Sep 17 00:00:00 2001 From: biwasbhandari Date: Sat, 29 Nov 2025 13:23:09 +0545 Subject: [PATCH 4/5] fix(mobile): resolve scroll issue in submission history --- src/components/aidaos/DAOTabLayout.tsx | 2 +- src/components/proposals/ProposalCard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/aidaos/DAOTabLayout.tsx b/src/components/aidaos/DAOTabLayout.tsx index 73b498e2..2271c540 100644 --- a/src/components/aidaos/DAOTabLayout.tsx +++ b/src/components/aidaos/DAOTabLayout.tsx @@ -73,7 +73,7 @@ export function DAOTabLayout({
) : ( -
{children}
+
{children}
)}
diff --git a/src/components/proposals/ProposalCard.tsx b/src/components/proposals/ProposalCard.tsx index f46f8fb3..bd815bbc 100644 --- a/src/components/proposals/ProposalCard.tsx +++ b/src/components/proposals/ProposalCard.tsx @@ -156,7 +156,7 @@ export default function ProposalCard({ href={`/proposals/${proposal.id}`} className="block group cursor-pointer" > -
+
{/* Header */}
From df0b38dd5c0f96ce760a54b4ca0d07fe9da898ef Mon Sep 17 00:00:00 2001 From: biwasbhandari Date: Sat, 29 Nov 2025 13:32:18 +0545 Subject: [PATCH 5/5] re-implement the scroll animation --- src/components/proposals/ProposalCard.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/proposals/ProposalCard.tsx b/src/components/proposals/ProposalCard.tsx index bd815bbc..ea074b87 100644 --- a/src/components/proposals/ProposalCard.tsx +++ b/src/components/proposals/ProposalCard.tsx @@ -17,6 +17,7 @@ import { Button } from "@/components/ui/button"; import { RefreshCw, AlertCircle } from "lucide-react"; import { safeNumberFromBigInt } from "@/utils/proposal"; import { cn } from "@/lib/utils"; +import { motion } from "framer-motion"; interface ProposalCardProps { proposal: Proposal | ProposalWithDAO; @@ -151,7 +152,12 @@ export default function ProposalCard({ }, [proposal]); return ( -
+ -
+ ); }