import { useAppLayoutData } from "~/hooks/useAppLayoutData";

export const usePaidGuard = () => {
  const appLayoutData = useAppLayoutData();

  return {
    isBasicPlan: appLayoutData.subscription.plan === "BASIC",
  };
};
