Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): mark QuantityButton as client component

Richie McIlroy4d38028c0a93
diff --git a/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx b/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx
index ae6b3b7f3..a9854ff2b 100644
--- a/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx
+++ b/apps/web/components/pages/HomePage/Pricing/QuantityButton.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import { classNames } from "@cap/utils";
import type React from "react";
@@ -17,6 +19,7 @@ export const QuantityButton = ({
}) => {
return (
<button
+ type="button"
onClick={onClick}
className={classNames(BaseQuantityButtonClasses, className)}
aria-label={ariaLabel}