Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

425 B
Raw Blame
import type { LegacyBillingState } from "@editor/types/legacyBilling";

const empty: LegacyBillingState = {
  subscriptions: [],
  loading: false,
  loadError: false,
  opening: false,
  portalError: false,
  refresh: () => {},
  openPortal: async () => {},
};

/** SaaS shadows this hook to expose the signed-in owner's historical billing. */
export function useLegacySubscriptions(): LegacyBillingState {
  return empty;
}