Skip to content

Commit 2035c8c

Browse files
Fix custom branding props (#3833)
1 parent 1aa7ad3 commit 2035c8c

3 files changed

Lines changed: 22 additions & 3 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "Custom Branding",
5+
"comment": "Fix custom branding props",
6+
"packageName": "@azure/communication-react",
7+
"email": "2684369+JamesBurnside@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "Custom Branding",
5+
"comment": "Fix custom branding props",
6+
"packageName": "@azure/communication-react",
7+
"email": "2684369+JamesBurnside@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}

packages/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,10 @@ const CallWithChatScreen = (props: CallWithChatScreenProps): JSX.Element => {
444444
/* @conditional-compile-remove(click-to-call) */
445445
localVideoTile: props.localVideoTile,
446446
/* @conditional-compile-remove(custom-branding) */
447-
logo: props.logo,
448-
/* @conditional-compile-remove(custom-branding) */
449-
backgroundImage: props.backgroundImage
447+
branding: {
448+
logo: props.logo,
449+
backgroundImage: props.backgroundImage
450+
}
450451
}),
451452
[
452453
props.callControls,

0 commit comments

Comments
 (0)