import { createFileRoute, redirect } from '@tanstack/react-router'

export const Route = createFileRoute('/domain/_index')({
  beforeLoad: () => {
    throw redirect({
      to: '/domain/edit/list',
      throw: true,
    })
  },
  component: () => null,
})
