From 4a2fcb50d8a8551a910d9524cbf2ed4bba35042f Mon Sep 17 00:00:00 2001 From: Mahesh Sabbavarapu Date: Mon, 2 Apr 2018 21:08:26 -0700 Subject: [PATCH] Make user bubble and chat bubble styles apply independently. Currently, when I use 'bubbleStyles', the useBubble style is getting applied to both userBubble and chatbubble. This commit fixes this issue and applies the right styles to the right bubbles. --- src/ChatBubble/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChatBubble/index.tsx b/src/ChatBubble/index.tsx index 31d2abe..7fafab6 100644 --- a/src/ChatBubble/index.tsx +++ b/src/ChatBubble/index.tsx @@ -36,8 +36,8 @@ export default class ChatBubble extends React.Component { ...bubblesCentered ? {} : styles.recipientChatbubbleOrientationNormal, - ...chatbubble, ...userBubble, + ...chatbubble, }; return (