15 lines
248 B
TypeScript
15 lines
248 B
TypeScript
"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}
|
|
/>
|
|
);
|
|
};
|