share route itens

This commit is contained in:
2025-11-24 19:11:20 -03:00
parent 4db2123bc5
commit 21840506b0
31 changed files with 460 additions and 703 deletions

View File

@@ -42,8 +42,7 @@ import {
import { Progress } from '@repo/ui/components/ui/progress'
import { Spinner } from '@repo/ui/components/ui/spinner'
import { cn, initials } from '@repo/ui/lib/utils'
import { labels, statuses } from './data'
import { labels, statuses } from '@repo/ui/routes/enrollments/data'
// This type is used to define the shape of our data.
// You can use a Zod schema here if you want.
@@ -61,14 +60,6 @@ export type Enrollment = {
created_at: string
}
const formatted = new Intl.DateTimeFormat('pt-BR', {
day: '2-digit',
month: '2-digit',
year: 'numeric',
hour: '2-digit',
minute: '2-digit'
})
export const columns: ColumnDef<Enrollment>[] = [
{
id: 'select',