Refine the default system settings structure and model pricing editor so pricing configuration is easier to scan and edit.
14 lines
425 B
TypeScript
Vendored
14 lines
425 B
TypeScript
Vendored
import { createFileRoute, redirect } from '@tanstack/react-router'
|
|
import { OPERATIONS_DEFAULT_SECTION } from '@/features/system-settings/operations/section-registry.tsx'
|
|
|
|
export const Route = createFileRoute(
|
|
'/_authenticated/system-settings/operations/'
|
|
)({
|
|
beforeLoad: () => {
|
|
throw redirect({
|
|
to: '/system-settings/operations/$section',
|
|
params: { section: OPERATIONS_DEFAULT_SECTION },
|
|
})
|
|
},
|
|
})
|