Skip to content

Commit 429dddf

Browse files
authored
Alkwa/fix theme preview (#3015)
* fixing storybook bug on theme example preview * Change files * Duplicate change files for beta release
1 parent bf45586 commit 429dddf

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "fixing comunicationidentifier for theme example in storybook",
4+
"packageName": "@azure/communication-react",
5+
"email": "79329532+alkwa-msft@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "fixing comunicationidentifier for theme example in storybook",
4+
"packageName": "@azure/communication-react",
5+
"email": "79329532+alkwa-msft@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/storybook/stories/CallComposite/ThemeExample.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const ThemeExampleStory = (args: ArgsFrom<typeof storyControls>, context): JSX.E
3131
const containerProps = useMemo(() => {
3232
if (args.userId && args.token) {
3333
const containerProps = {
34-
userId: args.userId,
34+
userId: { communicationUserId: args.userId },
3535
token: args.token,
3636
locator: createGUID()
3737
};

0 commit comments

Comments
 (0)