tabletop-commander/app/client.tsx

17 lines
289 B
TypeScript
Executable File

"use client";
import { TTCMD } from "@/components/ttcmd";
import { FC, use } from "react";
export const HomeClient: FC<{ body: Promise<string> }> = ({ body }) => {
const text = use(body);
return (
<TTCMD
body={text}
parserId="home"
title="home"
/>
);
};