Skip to content

Commit

Permalink
do not use tha data object directly. This object is only for debugging.
Browse files Browse the repository at this point in the history
The data object was removed from the answer now. Without this patch the chat does not work.
  • Loading branch information
Orbiter authored Nov 9, 2019
1 parent 47c53fc commit 4c14c8c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ export const generateMessageBubble = (
) {
showFeedback = true;
}
/*
if (answer.data[0].type === 'gif') {
let gifSource = answer.data[0].embed_url;
listItems.push(
Expand All @@ -364,6 +365,7 @@ export const generateMessageBubble = (
),
);
} else {
*/
listItems.push(
generateAnswerBubble(
actionType,
Expand All @@ -374,7 +376,7 @@ export const generateMessageBubble = (
showFeedback,
),
);
}
//}
break;
}
case 'anchor': {
Expand Down

0 comments on commit 4c14c8c

Please sign in to comment.