Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔥 Remove unused PayWallButton

Luke Vella94f621dee146
diff --git a/apps/web/src/features/billing/client.tsx b/apps/web/src/features/billing/client.tsx
index 983bb9e3c..f5876d037 100644
--- a/apps/web/src/features/billing/client.tsx
+++ b/apps/web/src/features/billing/client.tsx
@@ -1,7 +1,5 @@
"use client";
-import type { ButtonProps } from "@rallly/ui/button";
-import { Button } from "@rallly/ui/button";
import React from "react";
import type { SpaceTier } from "@/features/space/schema";
import { trpc } from "@/trpc/client";
@@ -53,16 +51,3 @@ export function useBilling() {
}
return context;
}
-
-export const PayWallButton = ({ onClick, ...forwardedProps }: ButtonProps) => {
- const { showPayWall } = useBilling();
- return (
- <Button
- onClick={(e) => {
- showPayWall();
- onClick?.(e);
- }}
- {...forwardedProps}
- />
- );
-};