Skip to content

Commit

Permalink
Update verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 13, 2018
1 parent e88eb52 commit 7f4afb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/component/src/Composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ function patchPropsForAvatarInitials({ botAvatarInitials, userAvatarInitials, ..
if (botAvatarInitials) {
styleOptions = { ...styleOptions, botAvatarInitials };

console.warn('Web Chat: "botAvatarInitials" is deprecated, please use "styleOptions.botAvatarInitials" instead.');
console.warn('Web Chat: "botAvatarInitials" is deprecated. Please use "styleOptions.botAvatarInitials" instead.');
}

if (userAvatarInitials) {
styleOptions = { ...styleOptions, userAvatarInitials };

console.warn('Web Chat: "userAvatarInitials" is deprecated, please use "styleOptions.userAvatarInitials" instead.');
console.warn('Web Chat: "userAvatarInitials" is deprecated. Please use "styleOptions.userAvatarInitials" instead.');
}

return {
Expand Down

0 comments on commit 7f4afb0

Please sign in to comment.