Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix typos

Steven Tey19a5c0aabf98
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/commission-menu-popover.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/commissions-menu-popover.tsx
similarity index 90%
rename from apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/commission-menu-popover.tsx
rename to apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/commissions-menu-popover.tsx
index 7883f58054..24e2a2f160 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/commission-menu-popover.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/commissions-menu-popover.tsx
@@ -16,7 +16,7 @@ import Link from "next/link";
import { useState } from "react";
import { useCreateClawbackSheet } from "./create-clawback-sheet";
-export function CommmissionsMenuPopover() {
+export function CommissionsMenuPopover() {
const [openPopover, setOpenPopover] = useState(false);
const { slug } = useWorkspace();
const { getQueryString } = useRouterStuff();
@@ -61,13 +61,12 @@ export function CommmissionsMenuPopover() {
],
},
)}`}
+ className="w-full rounded-md p-2 hover:bg-neutral-100 active:bg-neutral-200"
>
- <button className="w-full rounded-md p-2 hover:bg-neutral-100 active:bg-neutral-200">
- <IconMenu
- text="View analytics"
- icon={<ChartLine className="size-4" />}
- />
- </button>
+ <IconMenu
+ text="View analytics"
+ icon={<ChartLine className="size-4" />}
+ />
</Link>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/page.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/page.tsx
index 82b5956b8b..1f07f880fc 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/page.tsx
@@ -2,7 +2,7 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
-import { CommmissionsMenuPopover } from "./commission-menu-popover";
+import { CommissionsMenuPopover } from "./commissions-menu-popover";
import { CommissionsStats } from "./commissions-stats";
import { CommissionsTable } from "./commissions-table";
import { CreateCommissionButton } from "./create-commission-button";
@@ -19,7 +19,7 @@ export default function ProgramCommissions() {
controls={
<>
<CreateCommissionButton />
- <CommmissionsMenuPopover />
+ <CommissionsMenuPopover />
</>
}
>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/applications/applications-menu-popover.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/applications/applications-menu-popover.tsx
index c52084dedb..6c333bc52e 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/applications/applications-menu-popover.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/applications/applications-menu-popover.tsx
@@ -62,13 +62,12 @@ export function ApplicationsMenuPopover() {
<Link
href={`/${workspaceSlug}/program/analytics/applications${getQueryString(undefined, { include: ["country"] })}`}
onClick={() => setOpenPopover(false)}
+ className="w-full rounded-md p-2 hover:bg-neutral-100 active:bg-neutral-200"
>
- <button className="w-full rounded-md p-2 hover:bg-neutral-100 active:bg-neutral-200">
- <IconMenu
- text="View analytics"
- icon={<ChartLine className="size-4" />}
- />
- </button>
+ <IconMenu
+ text="View analytics"
+ icon={<ChartLine className="size-4" />}
+ />
</Link>
</div>