-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: t is not a function #181
Comments
Hey @YohaanYoon thanks for bringing it up. I will check and get back to you! |
@YohaanYoon can you please share the code around how you are using MessageList and MessageInput? Also which version of stream-chat-react are you using? |
And, the version of stream-chat-react is 0.10.1. |
something is going wrong with the i18n setup, what does For translations to work correctly, it should be something like this: const i18n = new Streami18n({
language: 'nl',
translationsForLanguage: {
'Nothing yet...': 'Nog Niet ...',
'{{ firstUser }} and {{ secondUser }} are typing...':
'{{ firstUser }} en {{ secondUser }} zijn aan het typen...',
},
}); @vishalnarkhede is this is a misconfiguration problem we should add some basic validation to catch it when |
@tbarbugli chatTranslateInstance.getChatTranslate() returns |
@YohaanYoon I have published a fix for this. Can you please check on 0.10.2 Its mostly because translator wasn't ready before rendering Chat component.
We have check |
Thanks. It works well. But, I have found the other issues.
I guess those are similar issues. |
Thanks for brining it up @YohaanYoon . Translation context consumer is missing on that component. I will put up a fix soon :) |
@YohaanYoon fixed in |
@vishalnarkhede Thanks |
CreateGuest failed with error: "JWTAuth error: token contains an invalid number of segments getting this error on creating guest user what's the issue this was working perfect berfore
|
Going through tutorial, ChannelList component works well. But, I received following error, when MessageList and MessageInput components:
When MessageList and MessageInput components removed in render(), it works.
The text was updated successfully, but these errors were encountered: