-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding null check for userAgent * Change files * Update packages/merge-styles/src/getVendorSettings.ts Using optional chaining instead of ternary Co-authored-by: David Zearing <dzearing@microsoft.com> Co-authored-by: Arushi Jain <arujain@microsoft.com> Co-authored-by: David Zearing <dzearing@microsoft.com>
- Loading branch information
1 parent
00df799
commit e6ee3ff
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-merge-styles-0da7bc43-803f-44ac-9388-46a8fe7cc4a3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "getVendorSettings.js file was leading to app crash if userAgent was null. Have added a null check for userAgent", | ||
"packageName": "@fluentui/merge-styles", | ||
"email": "arujain@microsoft.com", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters