import { createFileRoute } from '@tanstack/react-router';
import { SubscriptionPage } from '@/features/subscription';
import { CPZone } from '@archer/domain';
import { requireZone } from '@/presentation/guards/requireZone';

export const Route = createFileRoute('/_authenticated/dashboard/subscription')({
  beforeLoad: () => requireZone(CPZone.SUBSCRIPTION),
  component: SubscriptionPage,
});
