diff --git a/app/components/PremiumLock/PremiumLock.tsx b/app/components/PremiumLock/PremiumLock.tsx index 350cbdfc0f..22b8e1d15f 100644 --- a/app/components/PremiumLock/PremiumLock.tsx +++ b/app/components/PremiumLock/PremiumLock.tsx @@ -2,11 +2,13 @@ import { Link } from "react-router-dom"; import React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faLock } from "@fortawesome/pro-solid-svg-icons"; +import { twMerge } from "tailwind-merge"; interface PremiumLockProps { requiredPlan?: "any" | "plus" | "pro" | "elite"; children: React.ReactNode; plural?: boolean; // if the message should be plural for multiple features + className?: string; } // replace with api to check @@ -21,6 +23,7 @@ export default function PremiumLock({ requiredPlan = "plus", plural = false, children, + className, }: PremiumLockProps) { const getPlanMessage = (plan: string) => { switch (plan) { @@ -64,7 +67,12 @@ export default function PremiumLock({ {hasAccess() ? ( children ) : ( -