You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now it should be working the above error is related to https://copilotdemo.app service was down and in the future if you encounter then run the chat copilot app locally and update the ui/typescript env file value accordingly
chat-session-list.tsx
error-message
Text
Argument of type '(prevUserInfo: UserInfoProps) => { chatId: any; input: string; userId: string; userName: string; firstName: string; lastName: string; age: number; riskLevel: string; annualHouseholdIncome: number; favoriteBook: string; favoriteAdvisor: string; }' is not assignable to parameter of type 'SetStateAction<{ input: string; userId: string; userName: string; chatId: string | undefined; firstName: string; lastName: string; age: number; authorRole: number; riskLevel: string; annualHouseholdIncome: number; favoriteBook: string; favoriteAdvisor: string; }>'.
Type '(prevUserInfo: UserInfoProps) => { chatId: any; input: string; userId: string; userName: string; firstName: string; lastName: string; age: number; riskLevel: string; annualHouseholdIncome: number; favoriteBook: string; favoriteAdvisor: string; }' is not assignable to type '(prev: { input: string; userId: string; userName: string; chatId: string | undefined; firstName: string; lastName: string; age: number; authorRole: number; riskLevel: string; annualHouseholdIncome: number; favoriteBook: string; favoriteAdvisor: string; }) => { ...; }'.
Types of parameters 'prevUserInfo' and 'prev' are incompatible.
Type '{ input: string; userId: string; userName: string; chatId: string | undefined; firstName: string; lastName: string; age: number; authorRole: number; riskLevel: string; annualHouseholdIncome: number; favoriteBook: string; favoriteAdvisor: string; }' is not assignable to type 'UserInfoProps'.
Types of property 'chatId' are incompatible.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.ts(2345)
const randomChatSession: any
The text was updated successfully, but these errors were encountered: