mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
fd34bbfbf6
Run prettier on ~1,865 files across examples/ to match the monorepo's formatting standards. These files were imported as-is from standalone repos that used different prettier configs.
17 lines
455 B
TypeScript
17 lines
455 B
TypeScript
"use client";
|
|
|
|
import "@copilotkit/react-ui/styles.css";
|
|
import { useEffect } from "react";
|
|
import { useRouter } from "next/navigation";
|
|
import { useLayout } from "./contexts/LayoutContext";
|
|
export default function GoogleDeepMindChatUI() {
|
|
const router = useRouter();
|
|
const { updateLayout } = useLayout();
|
|
useEffect(() => {
|
|
updateLayout({ agent: "post_generation_agent" });
|
|
router.push("/post-generator");
|
|
}, [router]);
|
|
|
|
return <></>;
|
|
}
|