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

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