import { getSubscriptions } from '~/apis/common/get-subscriptions'
import { SubscribePlanPage } from '~/pages/dashboard-plan-subscribe'

import type { Route } from './+types/_admin.lg-admin._dashboard.contents._index'

export const loader = async ({}: Route.LoaderArgs) => {
  const { data: subscriptionsData } = await getSubscriptions()
  return { subscriptionsData }
}
const DashboardSubscriptionsSettingsLayout = () => <SubscribePlanPage />
export default DashboardSubscriptionsSettingsLayout
