FreeGpt / components /Chatbar /Chatbar.state.tsx
Daniton's picture
Duplicate from yxmnjxzx/chatbot-mini
5d4afba
raw
history blame
252 Bytes
import { Conversation } from '@/types/chat';
export interface ChatbarInitialState {
searchTerm: string;
filteredConversations: Conversation[];
}
export const initialState: ChatbarInitialState = {
searchTerm: '',
filteredConversations: [],
};