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