mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 21:35:44 +01:00
- Fix syntax errors in skills markdown files (.github/skills, .opencode/skills) - Change typescript to tsx for code blocks with JSX - Replace ellipsis (...) in array examples with valid syntax - Separate CSS from TypeScript into distinct code blocks - Convert JavaScript object examples to valid JSON in docs - Fix enum definitions with proper comma separation
37 lines
958 B
TypeScript
37 lines
958 B
TypeScript
import { Suspense } from "react";
|
|
import { Card, CardContent } from "@/components/ui/card";
|
|
import SessionViewClient from "./SessionViewClient";
|
|
|
|
export const metadata = {
|
|
title: "Session Details | LiveDash",
|
|
description: "View detailed session information and conversation history",
|
|
};
|
|
|
|
// Provide at least one sample param for build-time validation
|
|
// Runtime params not in this list will be handled dynamically
|
|
export async function generateStaticParams() {
|
|
return [{ id: "sample" }];
|
|
}
|
|
|
|
function SessionLoadingFallback() {
|
|
return (
|
|
<div className="space-y-6">
|
|
<Card>
|
|
<CardContent className="pt-6">
|
|
<div className="text-center py-8 text-muted-foreground">
|
|
Loading session...
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default function SessionViewPage() {
|
|
return (
|
|
<Suspense fallback={<SessionLoadingFallback />}>
|
|
<SessionViewClient />
|
|
</Suspense>
|
|
);
|
|
}
|