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