Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0 Prompt Templates #993

Merged
merged 19 commits into from
Apr 27, 2023
Prev Previous commit
Next Next commit
fixup
  • Loading branch information
Yidadaa committed Apr 23, 2023
commit 708c6829f79d5c899a5d35d1bda6ca28c7bcad6c
5 changes: 4 additions & 1 deletion app/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
} from "react-router-dom";
import { SideBar } from "./sidebar";
import { useAppConfig } from "../store/config";
import { NewChat } from "./new-chat";

export function Loading(props: { noLogo?: boolean }) {
return (
Expand All @@ -42,6 +41,10 @@ const Chat = dynamic(async () => (await import("./chat")).Chat, {
loading: () => <Loading noLogo />,
});

const NewChat = dynamic(async () => (await import("./new-chat")).NewChat, {
loading: () => <Loading noLogo />,
});

export function useSwitchTheme() {
const config = useAppConfig();

Expand Down