Compare commits
No commits in common. "76db507654ec1318f0669813e55be3c9b6cd50cb" and "fa41dda3a7ddffe84323844be87b228129b1a6fc" have entirely different histories.
76db507654
...
fa41dda3a7
@ -1,11 +0,0 @@
|
||||
export { Badge } from './badge';
|
||||
export { Button } from './button';
|
||||
export { Card } from './card';
|
||||
export { Checkbox } from './checkbox';
|
||||
export { Input } from './input';
|
||||
export { Label } from './label';
|
||||
export { RadioGroup } from './radio-group';
|
||||
export { Select } from './select';
|
||||
export { Skeleton } from './skeleton';
|
||||
export { Switch } from './switch';
|
||||
export { Textarea } from './textarea';
|
||||
@ -787,17 +787,6 @@ export default class MessageBus {
|
||||
EventBus.getInstance().emit('PAIRING_CREATED', correlationId, message.decodedData);
|
||||
break;
|
||||
|
||||
case 'CONVERSATION_CREATED':
|
||||
if (this.errors[correlationId]) {
|
||||
const error = this.errors[correlationId];
|
||||
delete this.errors[correlationId];
|
||||
EventBus.getInstance().emit('ERROR_CONVERSATION_CREATED', correlationId, error);
|
||||
return;
|
||||
}
|
||||
EventBus.getInstance().emit('MESSAGE_RECEIVED', message);
|
||||
EventBus.getInstance().emit('CONVERSATION_CREATED', correlationId, message.decodedData);
|
||||
break;
|
||||
|
||||
case 'ERROR':
|
||||
console.error('Error:', message);
|
||||
this.errors[correlationId] = message.error;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user