Compare commits
3 Commits
a96a49d649
...
73229cbe19
Author | SHA1 | Date |
---|---|---|
|
73229cbe19 | |
|
c89584dba0 | |
|
83965dd675 |
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "bbuddy-ui",
|
"name": "bbuddy-ui",
|
||||||
"version": "0.3.4",
|
"version": "0.3.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bbuddy-ui",
|
"name": "bbuddy-ui",
|
||||||
"version": "0.3.4",
|
"version": "0.3.5",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/cssinjs": "^1.18.1",
|
"@ant-design/cssinjs": "^1.18.1",
|
||||||
"@ant-design/icons": "^5.2.6",
|
"@ant-design/icons": "^5.2.6",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bbuddy-ui",
|
"name": "bbuddy-ui",
|
||||||
"version": "0.3.4",
|
"version": "0.3.5",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 4200",
|
"dev": "next dev -p 4200",
|
||||||
|
|
|
@ -46,6 +46,7 @@ export const ChatMessages = ({ locale, groupId }: CompProps) => {
|
||||||
setNotMe(_group.group.members[0].user)
|
setNotMe(_group.group.members[0].user)
|
||||||
}
|
}
|
||||||
setMessages(_messages.messages);
|
setMessages(_messages.messages);
|
||||||
|
joinChat(groupId)
|
||||||
|
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -46,7 +46,7 @@ export const ExpertCard: FC<ExpertDetailsProps> = ({ expert, locale, expertId })
|
||||||
document?.addEventListener('show_pay_form', handleShowPayForm);
|
document?.addEventListener('show_pay_form', handleShowPayForm);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
if (closeConnection) closeConnection();
|
// if (closeConnection) closeConnection();
|
||||||
document?.removeEventListener('show_pay_form', handleShowPayForm);
|
document?.removeEventListener('show_pay_form', handleShowPayForm);
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
|
@ -27,6 +27,7 @@ class SignalConnector {
|
||||||
private events = {} as any;
|
private events = {} as any;
|
||||||
static instance?: SignalConnector;
|
static instance?: SignalConnector;
|
||||||
constructor({ jwt }: { jwt?: string}) {
|
constructor({ jwt }: { jwt?: string}) {
|
||||||
|
console.log('here')
|
||||||
const options = {
|
const options = {
|
||||||
accessTokenFactory: () => jwt
|
accessTokenFactory: () => jwt
|
||||||
} as IHttpConnectionOptions;
|
} as IHttpConnectionOptions;
|
||||||
|
|
Loading…
Reference in New Issue