style(desktop): satisfy lint across PR-touched files
This commit is contained in:
@@ -157,6 +157,7 @@ function resolveCopy(personality?: string, seed?: number): IntroCopy {
|
||||
export function Intro({ personality, seed }: IntroProps) {
|
||||
const [mountSeed] = useState(() => Math.floor(Math.random() * 100000))
|
||||
const copy = resolveCopy(personality, mountSeed + (seed ?? 0))
|
||||
|
||||
return (
|
||||
<div
|
||||
className="pointer-events-none flex w-full min-w-0 flex-col items-center justify-center px-3 py-6 text-center text-muted-foreground sm:px-6 lg:px-8"
|
||||
|
||||
@@ -695,9 +695,11 @@ function ConfirmingModelPanel({
|
||||
queryKey: ['onboarding-model-options', flow.providerSlug],
|
||||
queryFn: () => getGlobalModelOptions()
|
||||
})
|
||||
|
||||
const providerRow = options.data?.providers?.find(
|
||||
p => String(p.slug).toLowerCase() === flow.providerSlug.toLowerCase()
|
||||
)
|
||||
|
||||
const price = providerRow?.pricing?.[flow.currentModel]
|
||||
const freeTier = providerRow?.free_tier
|
||||
|
||||
|
||||
Reference in New Issue
Block a user