update block
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user