Compare commits

..

No commits in common. "73229cbe1933f38140f0c38a22fc0c683cfff066" and "a96a49d64917bed631fb2da414da6181d39fd208" have entirely different histories.

5 changed files with 4 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "bbuddy-ui",
"version": "0.3.5",
"version": "0.3.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bbuddy-ui",
"version": "0.3.5",
"version": "0.3.4",
"dependencies": {
"@ant-design/cssinjs": "^1.18.1",
"@ant-design/icons": "^5.2.6",

View File

@ -1,6 +1,6 @@
{
"name": "bbuddy-ui",
"version": "0.3.5",
"version": "0.3.4",
"private": true,
"scripts": {
"dev": "next dev -p 4200",

View File

@ -46,7 +46,6 @@ export const ChatMessages = ({ locale, groupId }: CompProps) => {
setNotMe(_group.group.members[0].user)
}
setMessages(_messages.messages);
joinChat(groupId)
})
.catch((e) => {

View File

@ -46,7 +46,7 @@ export const ExpertCard: FC<ExpertDetailsProps> = ({ expert, locale, expertId })
document?.addEventListener('show_pay_form', handleShowPayForm);
return () => {
// if (closeConnection) closeConnection();
if (closeConnection) closeConnection();
document?.removeEventListener('show_pay_form', handleShowPayForm);
}
}, []);

View File

@ -27,7 +27,6 @@ class SignalConnector {
private events = {} as any;
static instance?: SignalConnector;
constructor({ jwt }: { jwt?: string}) {
console.log('here')
const options = {
accessTokenFactory: () => jwt
} as IHttpConnectionOptions;