Skip to content

Commit 97b7e82

Browse files
committed
chore remove icon coloring
1 parent 70a0408 commit 97b7e82

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/components/FeatureCard.client.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export function FeatureCard(props: {
2323
<div className="flex-1 flex flex-col items-start gap-6 w-full">
2424
<div className="relative w-full">
2525
<div
26-
className={`${props.color === "green" ? "bg-green-700/25" : "bg-violet-700/25"} rounded-lg size-9 flex items-center justify-center`}
26+
className={
27+
"border bg-background rounded-lg size-9 flex items-center justify-center"
28+
}
2729
>
28-
<props.icon
29-
className={`size-5 ${props.color === "green" ? "text-green-500" : "text-violet-500"}`}
30-
/>
30+
<props.icon className={`size-5 text-foreground`} />
3131
</div>
3232
{props.badge && (
3333
<Badge

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/links/components/PaymentLinksTable.client.tsx

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

33
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
4-
import { CopyIcon, LinkIcon, PlusIcon, TrashIcon } from "lucide-react";
4+
import { LinkIcon, PlusIcon, TrashIcon } from "lucide-react";
55
import { type PropsWithChildren, useState } from "react";
66
import { toast } from "sonner";
77
import { toTokens } from "thirdweb";
88
import {
99
deletePaymentLink,
10-
deleteWebhook,
1110
getPaymentLinks,
1211
getPayments,
1312
} from "@/api/universal-bridge/developer";
1413
import { WalletAddress } from "@/components/blocks/wallet-address";
1514
import { Button } from "@/components/ui/button";
15+
import { CopyButton } from "@/components/ui/CopyButton";
1616
import {
1717
Dialog,
1818
DialogContent,
@@ -39,7 +39,6 @@ import { EmptyState } from "../../components/EmptyState";
3939
import { ErrorState } from "../../components/ErrorState";
4040
import { formatTokenAmount } from "../../components/format";
4141
import { CreatePaymentLinkButton } from "./CreatePaymentLinkButton.client";
42-
import { CopyButton } from "@/components/ui/CopyButton";
4342

4443
export function PaymentLinksTable(props: { clientId: string; teamId: string }) {
4544
const paymentLinksQuery = useQuery({

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/links/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import { PlusIcon } from "lucide-react";
12
import { redirect } from "next/navigation";
23
import { getProject } from "@/api/projects";
4+
import { Button } from "@/components/ui/button";
35
import { UnderlineLink } from "@/components/ui/UnderlineLink";
4-
import { PaymentLinksTable } from "./components/PaymentLinksTable.client";
56
import { CreatePaymentLinkButton } from "./components/CreatePaymentLinkButton.client";
6-
import { Button } from "@/components/ui/button";
7-
import { PlusIcon } from "lucide-react";
7+
import { PaymentLinksTable } from "./components/PaymentLinksTable.client";
88

99
export default async function Page(props: {
1010
params: Promise<{

0 commit comments

Comments
 (0)