feat: send message on parent window on new mesage #419
Annotations
8 warnings
ESLint:
packages/react/src/use-assistant.ts#L87
React Hook useEffect has a missing dependency: 'localStorageName'. Either include it or remove the dependency array
|
ESLint:
packages/react/src/use-assistant.ts#L97
React Hook useEffect has missing dependencies: 'currentThreadId' and 'localStorageName'. Either include them or remove the dependency array
|
ESLint:
packages/ui/components/chat-message.tsx#L91
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
ESLint:
packages/ui/components/chat.tsx#L114
React Hook useEffect has a missing dependency: 'toast'. Either include it or remove the dependency array
|
ESLint:
packages/ui/components/chat.tsx#L120
React Hook useEffect has a missing dependency: 'onThreadIdChange'. Either include it or remove the dependency array. If 'onThreadIdChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
ESLint:
packages/ui/components/chat.tsx#L126
React Hook useEffect has a missing dependency: 'onMessagesChange'. Either include it or remove the dependency array. If 'onMessagesChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
ESLint:
packages/ui/components/chat.tsx#L135
React Hook useEffect has missing dependencies: 'handleInputChange' and 'input'. Either include them or remove the dependency array
|
ESLint:
packages/ui/components/chat.tsx#L227
React Hook useCallback has a missing dependency: 'uploadFile'. Either include it or remove the dependency array
|