Skip to content

Commit b883eb3

Browse files
committed
Refactor ProjectFTUX to accept wallet prop and update usage
Refactored ProjectFTUX and ProjectWalletSection to accept an optional wallet prop, allowing the wallet to be fetched once and passed down. Updated the project overview page to fetch the project wallet and pass it to both ProjectWalletSection and ProjectFTUX, reducing redundant API calls and improving efficiency. Also added a lint ignore comment in AnnouncementBanner.tsx.
1 parent e5b63c7 commit b883eb3

File tree

3 files changed

+501
-484
lines changed

3 files changed

+501
-484
lines changed

apps/dashboard/src/@/components/misc/AnnouncementBanner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Link from "next/link";
55
import { Button } from "@/components/ui/button";
66
import { useLocalStorage } from "@/hooks/useLocalStorage";
77

8+
// biome-ignore lint/correctness/noUnusedVariables: banner is toggled on-demand via API content changes
89
function AnnouncementBannerUI(props: {
910
href: string;
1011
label: string;

0 commit comments

Comments
 (0)