@100mslive/roomkit-react 0.3.13-alpha.2 → 0.3.13-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1997,7 +1997,7 @@
1997
1997
  "format": "esm"
1998
1998
  },
1999
1999
  "src/Prebuilt/components/AppData/useUISettings.js": {
2000
- "bytes": 6649,
2000
+ "bytes": 6641,
2001
2001
  "imports": [
2002
2002
  {
2003
2003
  "path": "react",
@@ -2277,7 +2277,7 @@
2277
2277
  "format": "esm"
2278
2278
  },
2279
2279
  "src/Prebuilt/components/AppData/AppData.tsx": {
2280
- "bytes": 6297,
2280
+ "bytes": 6283,
2281
2281
  "imports": [
2282
2282
  {
2283
2283
  "path": "react",
@@ -2450,7 +2450,7 @@
2450
2450
  "format": "esm"
2451
2451
  },
2452
2452
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
2453
- "bytes": 3545,
2453
+ "bytes": 3577,
2454
2454
  "imports": [
2455
2455
  {
2456
2456
  "path": "react",
@@ -2500,6 +2500,42 @@
2500
2500
  ],
2501
2501
  "format": "esm"
2502
2502
  },
2503
+ "src/Prebuilt/components/MoreSettings/ActionTile.jsx": {
2504
+ "bytes": 1301,
2505
+ "imports": [
2506
+ {
2507
+ "path": "react",
2508
+ "kind": "import-statement",
2509
+ "external": true
2510
+ },
2511
+ {
2512
+ "path": "src/Layout/index.tsx",
2513
+ "kind": "import-statement",
2514
+ "original": "../../../Layout"
2515
+ },
2516
+ {
2517
+ "path": "src/Text/index.tsx",
2518
+ "kind": "import-statement",
2519
+ "original": "../../../Text"
2520
+ },
2521
+ {
2522
+ "path": "src/Theme/index.tsx",
2523
+ "kind": "import-statement",
2524
+ "original": "../../../Theme"
2525
+ },
2526
+ {
2527
+ "path": "<define:process.env>",
2528
+ "kind": "import-statement",
2529
+ "external": true
2530
+ },
2531
+ {
2532
+ "path": "<runtime>",
2533
+ "kind": "import-statement",
2534
+ "external": true
2535
+ }
2536
+ ],
2537
+ "format": "esm"
2538
+ },
2503
2539
  "src/Sheet/Sheet.tsx": {
2504
2540
  "bytes": 3257,
2505
2541
  "imports": [
@@ -2850,7 +2886,7 @@
2850
2886
  "format": "esm"
2851
2887
  },
2852
2888
  "src/Prebuilt/components/AudioVideoToggle.tsx": {
2853
- "bytes": 10776,
2889
+ "bytes": 13065,
2854
2890
  "imports": [
2855
2891
  {
2856
2892
  "path": "react",
@@ -2877,6 +2913,11 @@
2877
2913
  "kind": "import-statement",
2878
2914
  "original": "./IconButtonWithOptions/IconButtonWithOptions"
2879
2915
  },
2916
+ {
2917
+ "path": "src/Prebuilt/components/MoreSettings/ActionTile.jsx",
2918
+ "kind": "import-statement",
2919
+ "original": "./MoreSettings/ActionTile"
2920
+ },
2880
2921
  {
2881
2922
  "path": "src/Prebuilt/components/Settings/SettingsModal.jsx",
2882
2923
  "kind": "import-statement",
@@ -2887,6 +2928,11 @@
2887
2928
  "kind": "import-statement",
2888
2929
  "original": "./Toast/ToastManager"
2889
2930
  },
2931
+ {
2932
+ "path": "src/AudioLevel/index.ts",
2933
+ "kind": "import-statement",
2934
+ "original": "../../AudioLevel"
2935
+ },
2890
2936
  {
2891
2937
  "path": "src/Dropdown/index.tsx",
2892
2938
  "kind": "import-statement",
@@ -2951,7 +2997,7 @@
2951
2997
  "format": "esm"
2952
2998
  },
2953
2999
  "src/Prebuilt/components/CaptionIcon.tsx": {
2954
- "bytes": 980,
3000
+ "bytes": 991,
2955
3001
  "imports": [
2956
3002
  {
2957
3003
  "path": "react",
@@ -5209,42 +5255,6 @@
5209
5255
  ],
5210
5256
  "format": "esm"
5211
5257
  },
5212
- "src/Prebuilt/components/MoreSettings/ActionTile.jsx": {
5213
- "bytes": 1301,
5214
- "imports": [
5215
- {
5216
- "path": "react",
5217
- "kind": "import-statement",
5218
- "external": true
5219
- },
5220
- {
5221
- "path": "src/Layout/index.tsx",
5222
- "kind": "import-statement",
5223
- "original": "../../../Layout"
5224
- },
5225
- {
5226
- "path": "src/Text/index.tsx",
5227
- "kind": "import-statement",
5228
- "original": "../../../Text"
5229
- },
5230
- {
5231
- "path": "src/Theme/index.tsx",
5232
- "kind": "import-statement",
5233
- "original": "../../../Theme"
5234
- },
5235
- {
5236
- "path": "<define:process.env>",
5237
- "kind": "import-statement",
5238
- "external": true
5239
- },
5240
- {
5241
- "path": "<runtime>",
5242
- "kind": "import-statement",
5243
- "external": true
5244
- }
5245
- ],
5246
- "format": "esm"
5247
- },
5248
5258
  "src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx": {
5249
5259
  "bytes": 3152,
5250
5260
  "imports": [
@@ -5400,7 +5410,7 @@
5400
5410
  "format": "esm"
5401
5411
  },
5402
5412
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
5403
- "bytes": 13299,
5413
+ "bytes": 13453,
5404
5414
  "imports": [
5405
5415
  {
5406
5416
  "path": "react",
@@ -5447,6 +5457,11 @@
5447
5457
  "kind": "import-statement",
5448
5458
  "original": "../../../IconButton"
5449
5459
  },
5460
+ {
5461
+ "path": "src/Prebuilt/components/AudioVideoToggle.tsx",
5462
+ "kind": "import-statement",
5463
+ "original": "../../AudioVideoToggle"
5464
+ },
5450
5465
  {
5451
5466
  "path": "src/Prebuilt/components/EmojiReaction.jsx",
5452
5467
  "kind": "import-statement",
@@ -9957,7 +9972,7 @@
9957
9972
  "format": "esm"
9958
9973
  },
9959
9974
  "src/Prebuilt/components/Preview/PreviewJoin.tsx": {
9960
- "bytes": 9876,
9975
+ "bytes": 10006,
9961
9976
  "imports": [
9962
9977
  {
9963
9978
  "path": "react",
@@ -10949,7 +10964,7 @@
10949
10964
  ],
10950
10965
  "format": "esm"
10951
10966
  },
10952
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca253e2/tldraw.css": {
10967
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63b13/tldraw.css": {
10953
10968
  "bytes": 80111,
10954
10969
  "imports": [
10955
10970
  {
@@ -10999,7 +11014,7 @@
10999
11014
  }
11000
11015
  ]
11001
11016
  },
11002
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca24db0/index.css": {
11017
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63341/index.css": {
11003
11018
  "bytes": 597,
11004
11019
  "imports": [
11005
11020
  {
@@ -11008,7 +11023,7 @@
11008
11023
  "external": true
11009
11024
  },
11010
11025
  {
11011
- "path": "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca253e2/tldraw.css",
11026
+ "path": "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63b13/tldraw.css",
11012
11027
  "kind": "import-rule",
11013
11028
  "original": "@tldraw/tldraw/tldraw.css"
11014
11029
  }
@@ -11083,7 +11098,7 @@
11083
11098
  "original": "../../common/constants"
11084
11099
  },
11085
11100
  {
11086
- "path": "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca24db0/index.css",
11101
+ "path": "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63341/index.css",
11087
11102
  "kind": "import-statement",
11088
11103
  "original": "@100mslive/hms-whiteboard/index.css"
11089
11104
  },
@@ -12105,7 +12120,7 @@
12105
12120
  "format": "esm"
12106
12121
  },
12107
12122
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
12108
- "bytes": 6017,
12123
+ "bytes": 6154,
12109
12124
  "imports": [
12110
12125
  {
12111
12126
  "path": "react",
@@ -12117,6 +12132,11 @@
12117
12132
  "kind": "import-statement",
12118
12133
  "external": true
12119
12134
  },
12135
+ {
12136
+ "path": "react-use",
12137
+ "kind": "import-statement",
12138
+ "external": true
12139
+ },
12120
12140
  {
12121
12141
  "path": "@100mslive/types-prebuilt",
12122
12142
  "kind": "import-statement",
@@ -12152,6 +12172,11 @@
12152
12172
  "kind": "import-statement",
12153
12173
  "original": "../../Layout"
12154
12174
  },
12175
+ {
12176
+ "path": "src/Theme/index.tsx",
12177
+ "kind": "import-statement",
12178
+ "original": "../../Theme"
12179
+ },
12155
12180
  {
12156
12181
  "path": "src/Prebuilt/layouts/EmbedView.jsx",
12157
12182
  "kind": "import-statement",
@@ -14317,7 +14342,7 @@
14317
14342
  "dist/index.js": {
14318
14343
  "imports": [
14319
14344
  {
14320
- "path": "dist/chunk-WVDHAUXG.js",
14345
+ "path": "dist/chunk-XSEQ4VZT.js",
14321
14346
  "kind": "import-statement"
14322
14347
  }
14323
14348
  ],
@@ -14391,16 +14416,16 @@
14391
14416
  "inputs": {},
14392
14417
  "bytes": 1822
14393
14418
  },
14394
- "dist/HLSView-6LSPJ2Z7.js.map": {
14419
+ "dist/HLSView-VGNORAAX.js.map": {
14395
14420
  "imports": [],
14396
14421
  "exports": [],
14397
14422
  "inputs": {},
14398
14423
  "bytes": 100275
14399
14424
  },
14400
- "dist/HLSView-6LSPJ2Z7.js": {
14425
+ "dist/HLSView-VGNORAAX.js": {
14401
14426
  "imports": [
14402
14427
  {
14403
- "path": "dist/chunk-WVDHAUXG.js",
14428
+ "path": "dist/chunk-XSEQ4VZT.js",
14404
14429
  "kind": "import-statement"
14405
14430
  },
14406
14431
  {
@@ -14578,7 +14603,7 @@
14578
14603
  "default"
14579
14604
  ],
14580
14605
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
14581
- "cssBundle": "dist/HLSView-PKDRMZ6I.css",
14606
+ "cssBundle": "dist/HLSView-QPE6FRVQ.css",
14582
14607
  "inputs": {
14583
14608
  "src/Prebuilt/layouts/HLSView.jsx": {
14584
14609
  "bytesInOutput": 27671
@@ -14637,13 +14662,13 @@
14637
14662
  },
14638
14663
  "bytes": 61702
14639
14664
  },
14640
- "dist/chunk-WVDHAUXG.js.map": {
14665
+ "dist/chunk-XSEQ4VZT.js.map": {
14641
14666
  "imports": [],
14642
14667
  "exports": [],
14643
14668
  "inputs": {},
14644
- "bytes": 3279454
14669
+ "bytes": 3283576
14645
14670
  },
14646
- "dist/chunk-WVDHAUXG.js": {
14671
+ "dist/chunk-XSEQ4VZT.js": {
14647
14672
  "imports": [
14648
14673
  {
14649
14674
  "path": "react",
@@ -15135,6 +15160,11 @@
15135
15160
  "kind": "import-statement",
15136
15161
  "external": true
15137
15162
  },
15163
+ {
15164
+ "path": "react",
15165
+ "kind": "import-statement",
15166
+ "external": true
15167
+ },
15138
15168
  {
15139
15169
  "path": "react-use",
15140
15170
  "kind": "import-statement",
@@ -15725,11 +15755,6 @@
15725
15755
  "kind": "import-statement",
15726
15756
  "external": true
15727
15757
  },
15728
- {
15729
- "path": "react",
15730
- "kind": "import-statement",
15731
- "external": true
15732
- },
15733
15758
  {
15734
15759
  "path": "react-use",
15735
15760
  "kind": "import-statement",
@@ -16835,6 +16860,11 @@
16835
16860
  "kind": "import-statement",
16836
16861
  "external": true
16837
16862
  },
16863
+ {
16864
+ "path": "react-use",
16865
+ "kind": "import-statement",
16866
+ "external": true
16867
+ },
16838
16868
  {
16839
16869
  "path": "ts-pattern",
16840
16870
  "kind": "import-statement",
@@ -17121,7 +17151,7 @@
17121
17151
  "external": true
17122
17152
  },
17123
17153
  {
17124
- "path": "dist/HLSView-6LSPJ2Z7.js",
17154
+ "path": "dist/HLSView-VGNORAAX.js",
17125
17155
  "kind": "dynamic-import"
17126
17156
  },
17127
17157
  {
@@ -17623,7 +17653,7 @@
17623
17653
  ],
17624
17654
  "inputs": {
17625
17655
  "<define:process.env>": {
17626
- "bytesInOutput": 17846
17656
+ "bytesInOutput": 17845
17627
17657
  },
17628
17658
  "../../node_modules/lodash/lodash.js": {
17629
17659
  "bytesInOutput": 224310
@@ -17881,7 +17911,7 @@
17881
17911
  "bytesInOutput": 7828
17882
17912
  },
17883
17913
  "src/Prebuilt/components/AppData/AppData.tsx": {
17884
- "bytesInOutput": 6004
17914
+ "bytesInOutput": 5997
17885
17915
  },
17886
17916
  "src/Prebuilt/components/Settings/LayoutSettings.tsx": {
17887
17917
  "bytesInOutput": 2705
@@ -17890,7 +17920,7 @@
17890
17920
  "bytesInOutput": 973
17891
17921
  },
17892
17922
  "src/Prebuilt/components/AppData/useUISettings.js": {
17893
- "bytesInOutput": 5870
17923
+ "bytesInOutput": 5863
17894
17924
  },
17895
17925
  "src/Prebuilt/components/hooks/useUserPreferences.jsx": {
17896
17926
  "bytesInOutput": 748
@@ -17932,14 +17962,17 @@
17932
17962
  "bytesInOutput": 3306
17933
17963
  },
17934
17964
  "src/Prebuilt/components/AudioVideoToggle.tsx": {
17935
- "bytesInOutput": 11007
17965
+ "bytesInOutput": 13384
17936
17966
  },
17937
17967
  "src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
17938
- "bytesInOutput": 3173
17968
+ "bytesInOutput": 3207
17939
17969
  },
17940
17970
  "src/Prebuilt/IconButton.tsx": {
17941
17971
  "bytesInOutput": 487
17942
17972
  },
17973
+ "src/Prebuilt/components/MoreSettings/ActionTile.jsx": {
17974
+ "bytesInOutput": 1390
17975
+ },
17943
17976
  "src/Prebuilt/components/Settings/SettingsModal.jsx": {
17944
17977
  "bytesInOutput": 8957
17945
17978
  },
@@ -17968,7 +18001,7 @@
17968
18001
  "bytesInOutput": 1028
17969
18002
  },
17970
18003
  "src/Prebuilt/components/CaptionIcon.tsx": {
17971
- "bytesInOutput": 915
18004
+ "bytesInOutput": 926
17972
18005
  },
17973
18006
  "src/Prebuilt/components/EmojiReaction.jsx": {
17974
18007
  "bytesInOutput": 2580
@@ -18067,7 +18100,7 @@
18067
18100
  "bytesInOutput": 1826
18068
18101
  },
18069
18102
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
18070
- "bytesInOutput": 12082
18103
+ "bytesInOutput": 12187
18071
18104
  },
18072
18105
  "src/Prebuilt/components/Header/StreamActions.tsx": {
18073
18106
  "bytesInOutput": 9482
@@ -18120,9 +18153,6 @@
18120
18153
  "src/Prebuilt/components/hooks/useScreenshareAudio.js": {
18121
18154
  "bytesInOutput": 907
18122
18155
  },
18123
- "src/Prebuilt/components/MoreSettings/ActionTile.jsx": {
18124
- "bytesInOutput": 1390
18125
- },
18126
18156
  "src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
18127
18157
  "bytesInOutput": 2201
18128
18158
  },
@@ -18214,7 +18244,7 @@
18214
18244
  "bytesInOutput": 3077
18215
18245
  },
18216
18246
  "src/Prebuilt/components/Preview/PreviewJoin.tsx": {
18217
- "bytesInOutput": 9772
18247
+ "bytesInOutput": 9940
18218
18248
  },
18219
18249
  "src/Prebuilt/layouts/SidePane.tsx": {
18220
18250
  "bytesInOutput": 6436
@@ -18286,7 +18316,7 @@
18286
18316
  "bytesInOutput": 1304
18287
18317
  },
18288
18318
  "src/Prebuilt/components/Polls/Voting/QuestionCard.jsx": {
18289
- "bytesInOutput": 7539
18319
+ "bytesInOutput": 7560
18290
18320
  },
18291
18321
  "src/Prebuilt/components/Polls/Voting/TimedVoting.tsx": {
18292
18322
  "bytesInOutput": 1738
@@ -18412,7 +18442,7 @@
18412
18442
  "bytesInOutput": 2206
18413
18443
  },
18414
18444
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
18415
- "bytesInOutput": 5199
18445
+ "bytesInOutput": 5314
18416
18446
  },
18417
18447
  "src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
18418
18448
  "bytesInOutput": 4550
@@ -18424,7 +18454,7 @@
18424
18454
  "bytesInOutput": 1370
18425
18455
  },
18426
18456
  "src/Prebuilt/components/InsetTile.tsx": {
18427
- "bytesInOutput": 4119
18457
+ "bytesInOutput": 4121
18428
18458
  },
18429
18459
  "src/Prebuilt/components/hooks/useVideoTileLayout.ts": {
18430
18460
  "bytesInOutput": 451
@@ -18465,7 +18495,7 @@
18465
18495
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
18466
18496
  "bytesInOutput": 2793
18467
18497
  },
18468
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca24db0/index.css": {
18498
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63341/index.css": {
18469
18499
  "bytesInOutput": 0
18470
18500
  },
18471
18501
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -18607,7 +18637,7 @@
18607
18637
  "bytesInOutput": 651
18608
18638
  }
18609
18639
  },
18610
- "bytes": 1345340
18640
+ "bytes": 1348158
18611
18641
  },
18612
18642
  "dist/index.css.map": {
18613
18643
  "imports": [],
@@ -18669,22 +18699,22 @@
18669
18699
  }
18670
18700
  ],
18671
18701
  "inputs": {
18672
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca253e2/tldraw.css": {
18702
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63b13/tldraw.css": {
18673
18703
  "bytesInOutput": 75223
18674
18704
  },
18675
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca24db0/index.css": {
18705
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63341/index.css": {
18676
18706
  "bytesInOutput": 401
18677
18707
  }
18678
18708
  },
18679
18709
  "bytes": 75901
18680
18710
  },
18681
- "dist/HLSView-PKDRMZ6I.css.map": {
18711
+ "dist/HLSView-QPE6FRVQ.css.map": {
18682
18712
  "imports": [],
18683
18713
  "exports": [],
18684
18714
  "inputs": {},
18685
18715
  "bytes": 122402
18686
18716
  },
18687
- "dist/HLSView-PKDRMZ6I.css": {
18717
+ "dist/HLSView-QPE6FRVQ.css": {
18688
18718
  "imports": [
18689
18719
  {
18690
18720
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -18738,10 +18768,10 @@
18738
18768
  }
18739
18769
  ],
18740
18770
  "inputs": {
18741
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca253e2/tldraw.css": {
18771
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63b13/tldraw.css": {
18742
18772
  "bytesInOutput": 75223
18743
18773
  },
18744
- "../../../../../../../tmp/tmp-2838-Qu0wKy3tnshP/19012ca24db0/index.css": {
18774
+ "../../../../../../../tmp/tmp-2767-MwTrYRJGafFX/190163b63341/index.css": {
18745
18775
  "bytesInOutput": 401
18746
18776
  }
18747
18777
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.13-alpha.2",
13
+ "version": "0.3.13-alpha.4",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -74,12 +74,12 @@
74
74
  "react": ">=17.0.2 <19.0.0"
75
75
  },
76
76
  "dependencies": {
77
- "@100mslive/hls-player": "0.3.13-alpha.2",
77
+ "@100mslive/hls-player": "0.3.13-alpha.4",
78
78
  "@100mslive/hms-noise-cancellation": "0.0.1",
79
- "@100mslive/hms-virtual-background": "1.13.13-alpha.2",
80
- "@100mslive/hms-whiteboard": "0.0.3-alpha.2",
81
- "@100mslive/react-icons": "0.10.13-alpha.2",
82
- "@100mslive/react-sdk": "0.10.13-alpha.2",
79
+ "@100mslive/hms-virtual-background": "1.13.13-alpha.4",
80
+ "@100mslive/hms-whiteboard": "0.0.3-alpha.4",
81
+ "@100mslive/react-icons": "0.10.13-alpha.4",
82
+ "@100mslive/react-sdk": "0.10.13-alpha.4",
83
83
  "@100mslive/types-prebuilt": "0.12.9",
84
84
  "@emoji-mart/data": "^1.0.6",
85
85
  "@emoji-mart/react": "^1.0.1",
@@ -115,5 +115,5 @@
115
115
  "uuid": "^8.3.2",
116
116
  "worker-timers": "^7.0.40"
117
117
  },
118
- "gitHead": "8ad775c3c97fb8bbc724a83aa16891271f0d9b83"
118
+ "gitHead": "678e1447e57c5ab4d7574c319f274cd45ac60a96"
119
119
  }
@@ -17,7 +17,7 @@ import { UserPreferencesKeys, useUserPreferences } from '../hooks/useUserPrefere
17
17
  // @ts-ignore
18
18
  import { useIsSidepaneTypeOpen, useSidepaneToggle } from './useSidepane';
19
19
  // @ts-ignore
20
- import { useSetAppDataByKey, useSetNoiseCancellationEnabled } from './useUISettings';
20
+ import { useSetAppDataByKey, useSetNoiseCancellation } from './useUISettings';
21
21
  import {
22
22
  APP_DATA,
23
23
  CHAT_SELECTOR,
@@ -79,7 +79,7 @@ export const AppData = React.memo(() => {
79
79
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
80
80
  const { isLocalVideoEnabled } = useAVToggle();
81
81
  const sidepaneOpenedRef = useRef(false);
82
- const [, setNoiseCancellationEnabled] = useSetNoiseCancellationEnabled();
82
+ const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
83
83
 
84
84
  useEffect(() => {
85
85
  if (elements?.noise_cancellation?.enabled_by_default) {
@@ -203,11 +203,10 @@ export const usePollViewState = () => {
203
203
  };
204
204
 
205
205
  export const useIsNoiseCancellationEnabled = () => {
206
- const IsNoiseCancellationEnabled = useHMSStore(selectAppDataByPath(APP_DATA.noiseCancellation));
207
- return IsNoiseCancellationEnabled;
206
+ const isNoiseCancellationEnabled = useHMSStore(selectAppDataByPath(APP_DATA.noiseCancellation));
207
+ return isNoiseCancellationEnabled;
208
208
  };
209
-
210
- export const useSetNoiseCancellationEnabled = () => {
209
+ export const useSetNoiseCancellation = () => {
211
210
  const [isNoiseCancellationEnabled, setNoiseCancellationEnabled] = useSetAppDataByKey(APP_DATA.noiseCancellation);
212
211
  return [isNoiseCancellationEnabled, setNoiseCancellationEnabled];
213
212
  };