update block

This commit is contained in:
2026-01-19 13:36:37 -03:00
parent 6b472110e2
commit 3fd7c77469
16 changed files with 421 additions and 133 deletions

View File

@@ -21,10 +21,12 @@ import { initials } from '@repo/ui/lib/utils'
import { request as req } from '@repo/util/request'
import { BadgeCheckIcon } from 'lucide-react'
import type { Org } from './data'
const links = [
{ to: '', title: 'Perfil', end: true },
{ to: 'subscription', title: 'Plano' },
{ to: 'address', title: 'Endereço' }
{ to: 'address', title: 'Endereço' },
{ to: 'subscription', title: 'Plano' }
]
export function meta() {
@@ -46,7 +48,9 @@ export async function loader({ params, request, context }: Route.LoaderArgs) {
throw new Response(null, { status: r.status })
}
return { org: await r.json() } as { org: any }
return { org: await r.json() } as {
org: Org
}
}
export function shouldRevalidate({