- {kit.buildLogs && kit.buildLogs.length > 0 && (
-
-
- Build log
-
-
- {kit.buildLogs.map((entry, i) => (
- -
- {i < kit.buildLogs!.length - 1 && (
-
- )}
-
-
-
- {entry.formattedDate}
-
-
{entry.stage}
-
{entry.text}
-
-
- ))}
-
-
- )}
-
- {(!kit.buildLogs || kit.buildLogs.length === 0) && (
-
- No details yet.
-
- )}
-
)
diff --git a/inertia/pages/profile.tsx b/inertia/pages/profile.tsx
index 8c53271..04aede6 100644
--- a/inertia/pages/profile.tsx
+++ b/inertia/pages/profile.tsx
@@ -21,19 +21,14 @@ import {
Plus,
Package,
Images,
- Activity,
- Hammer,
- CheckCircle2,
Check,
} from 'lucide-react'
import type { InertiaProps } from '~/types'
-import type { InferData, InferVariants } from '@adonisjs/http-transformers/types'
+import type { InferVariants } from '@adonisjs/http-transformers/types'
import type KitTransformer from '#kits/transformers/kit_transformer'
-import type BuildLogTransformer from '#kits/transformers/build_log_transformer'
import type { Achievement, ProfileStats } from '#profile/services/achievements_service'
type KitShelf = InferVariants