Native images (#6619)
Co-authored-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -7,9 +7,13 @@ import { Button } from '../ui/button';
|
||||
import { Sidebar, SidebarInset, SidebarProvider, SidebarTrigger, useSidebar } from '../ui/sidebar';
|
||||
import ChatSessionsContainer from '../ChatSessionsContainer';
|
||||
import { useChatContext } from '../../contexts/ChatContext';
|
||||
import { UserInput } from '../../types/message';
|
||||
|
||||
interface AppLayoutContentProps {
|
||||
activeSessions: Array<{ sessionId: string; initialMessage?: string }>;
|
||||
activeSessions: Array<{
|
||||
sessionId: string;
|
||||
initialMessage?: UserInput;
|
||||
}>;
|
||||
}
|
||||
|
||||
const AppLayoutContent: React.FC<AppLayoutContentProps> = ({ activeSessions }) => {
|
||||
@@ -126,7 +130,10 @@ const AppLayoutContent: React.FC<AppLayoutContentProps> = ({ activeSessions }) =
|
||||
};
|
||||
|
||||
interface AppLayoutProps {
|
||||
activeSessions: Array<{ sessionId: string; initialMessage?: string }>;
|
||||
activeSessions: Array<{
|
||||
sessionId: string;
|
||||
initialMessage?: UserInput;
|
||||
}>;
|
||||
}
|
||||
|
||||
export const AppLayout: React.FC<AppLayoutProps> = ({ activeSessions }) => {
|
||||
|
||||
Reference in New Issue
Block a user