Skip to content

Commit

Permalink
initializeIcons() in PSTN and 1:N quickstarts (#2517)
Browse files Browse the repository at this point in the history
  • Loading branch information
prprabhu-ms authored Nov 14, 2022
1 parent c06c9fc commit a85305c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "initializeIcons() in 1:N and PSTN quickstarts",
"packageName": "@internal/storybook",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
fromFlatCommunicationIdentifier,
useAzureCommunicationCallAdapter
} from '@azure/communication-react';
import { initializeIcons } from '@fluentui/react';
import React, { useMemo } from 'react';

/**
Expand Down Expand Up @@ -32,6 +33,8 @@ const DISPLAY_NAME = '<Display Name>';
*/
const ACS_USER_IDS = ['<ACS User ID>'];

initializeIcons();

/**
* Entry point of your application.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
fromFlatCommunicationIdentifier,
useAzureCommunicationCallAdapter
} from '@azure/communication-react';
import { initializeIcons } from '@fluentui/react';
import React, { useMemo } from 'react';

/**
Expand Down Expand Up @@ -41,6 +42,8 @@ const ALTERNATE_CALLER_ID = '<Azure Communication Services Managed Phone Number>
*/
const PHONE_NUMBERS = ['<Phone Number>'];

initializeIcons();

/**
* Entry point of your application.
*/
Expand Down

0 comments on commit a85305c

Please sign in to comment.