Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor(web): remove unused QuantityButton pricing component

Richie McIlroyc7439407bd52
diff --git a/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx b/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx
deleted file mode 100644
index a9854ff2b..000000000
--- a/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-"use client";
-
-import { classNames } from "@cap/utils";
-import type React from "react";
-
-const BaseQuantityButtonClasses =
- "flex justify-center items-center px-2 w-6 h-6 rounded-md outline-none";
-
-export const QuantityButton = ({
- onClick,
- children,
- className,
- ariaLabel,
-}: {
- onClick: () => void;
- children: React.ReactNode;
- className?: string;
- ariaLabel?: string;
-}) => {
- return (
- <button
- type="button"
- onClick={onClick}
- className={classNames(BaseQuantityButtonClasses, className)}
- aria-label={ariaLabel}
- >
- {children}
- </button>
- );
-};