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
A clear and concise description of what you expected to happen.
onPress is not compatible with because the callback expects a syn event in the handler. I think?!
It's all javascript so im unable to trace the root cause or type mistmatches.
Screenshots
If applicable, add screenshots to help explain your problem.
Hey, @jim-spr - truly there's an event object type mismatch, our function expects the event object to have preventDefault function which is not being provided though the custom Next's PressEvent object. You can just omit passing this event object altogether as from what I could find onPress should already handle that for you.
Describe the bug

`import React from 'react';
import {Channel, ChannelHeader, MessageInput, MessageList, useChatContext, Window} from "stream-chat-react";
import {motion} from 'framer-motion';
import {SendButton} from "@components/ui/chat/components/SendButton";
export function ChatView() {
}`
`import {Button} from "@nextui-org/button";
export const SendButton = ({disabled, sendMessage} : {
disabled: boolean;
sendMessage: () => void;
}) => {
return
}
`
Expected behavior
A clear and concise description of what you expected to happen.
onPress is not compatible with because the callback expects a syn event in the handler. I think?!
It's all javascript so im unable to trace the root cause or type mistmatches.
Screenshots
If applicable, add screenshots to help explain your problem.
Package version
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: