@100mslive/roomkit-react 0.3.15-alpha.4 → 0.3.15-alpha.6
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.
- package/dist/{HLSView-UZREPPDA.css → HLSView-ANYU6AJB.css} +3 -3
- package/dist/{HLSView-UZREPPDA.css.map → HLSView-ANYU6AJB.css.map} +1 -1
- package/dist/{HLSView-HMRFCBTS.js → HLSView-NOYWP3DT.js} +2 -2
- package/dist/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.d.ts +1 -0
- package/dist/Prebuilt/provider/roomLayoutProvider/index.d.ts +2 -0
- package/dist/{chunk-3RS665CV.js → chunk-4PDMOI7P.js} +163 -148
- package/dist/chunk-4PDMOI7P.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +168 -153
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +29 -19
- package/dist/meta.esbuild.json +41 -31
- package/package.json +7 -7
- package/src/Prebuilt/AppStateContext.tsx +3 -1
- package/src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts +9 -1
- package/src/Prebuilt/provider/roomLayoutProvider/index.tsx +7 -2
- package/dist/chunk-3RS665CV.js.map +0 -7
- /package/dist/{HLSView-HMRFCBTS.js.map → HLSView-NOYWP3DT.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
|
@@ -2137,7 +2137,7 @@
|
|
|
2137
2137
|
"format": "esm"
|
|
2138
2138
|
},
|
|
2139
2139
|
"src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts": {
|
|
2140
|
-
"bytes":
|
|
2140
|
+
"bytes": 2758,
|
|
2141
2141
|
"imports": [
|
|
2142
2142
|
{
|
|
2143
2143
|
"path": "react",
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
"format": "esm"
|
|
2164
2164
|
},
|
|
2165
2165
|
"src/Prebuilt/provider/roomLayoutProvider/index.tsx": {
|
|
2166
|
-
"bytes":
|
|
2166
|
+
"bytes": 2098,
|
|
2167
2167
|
"imports": [
|
|
2168
2168
|
{
|
|
2169
2169
|
"path": "react",
|
|
@@ -4951,7 +4951,7 @@
|
|
|
4951
4951
|
"format": "cjs"
|
|
4952
4952
|
},
|
|
4953
4953
|
"../hms-video-store/dist/index.js": {
|
|
4954
|
-
"bytes":
|
|
4954
|
+
"bytes": 355929,
|
|
4955
4955
|
"imports": [
|
|
4956
4956
|
{
|
|
4957
4957
|
"path": "../../node_modules/reselect/es/index.js",
|
|
@@ -5058,6 +5058,11 @@
|
|
|
5058
5058
|
"kind": "import-statement",
|
|
5059
5059
|
"external": true
|
|
5060
5060
|
},
|
|
5061
|
+
{
|
|
5062
|
+
"path": "eventemitter2",
|
|
5063
|
+
"kind": "import-statement",
|
|
5064
|
+
"external": true
|
|
5065
|
+
},
|
|
5061
5066
|
{
|
|
5062
5067
|
"path": "../../node_modules/sdp-transform/lib/index.js",
|
|
5063
5068
|
"kind": "import-statement",
|
|
@@ -10943,7 +10948,7 @@
|
|
|
10943
10948
|
],
|
|
10944
10949
|
"format": "esm"
|
|
10945
10950
|
},
|
|
10946
|
-
"../../../../../../../tmp/tmp-
|
|
10951
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2adc21/tldraw.css": {
|
|
10947
10952
|
"bytes": 80111,
|
|
10948
10953
|
"imports": [
|
|
10949
10954
|
{
|
|
@@ -10993,7 +10998,7 @@
|
|
|
10993
10998
|
}
|
|
10994
10999
|
]
|
|
10995
11000
|
},
|
|
10996
|
-
"../../../../../../../tmp/tmp-
|
|
11001
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2ad510/index.css": {
|
|
10997
11002
|
"bytes": 597,
|
|
10998
11003
|
"imports": [
|
|
10999
11004
|
{
|
|
@@ -11002,7 +11007,7 @@
|
|
|
11002
11007
|
"external": true
|
|
11003
11008
|
},
|
|
11004
11009
|
{
|
|
11005
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11010
|
+
"path": "../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2adc21/tldraw.css",
|
|
11006
11011
|
"kind": "import-rule",
|
|
11007
11012
|
"original": "@tldraw/tldraw/tldraw.css"
|
|
11008
11013
|
}
|
|
@@ -11077,7 +11082,7 @@
|
|
|
11077
11082
|
"original": "../../common/constants"
|
|
11078
11083
|
},
|
|
11079
11084
|
{
|
|
11080
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11085
|
+
"path": "../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2ad510/index.css",
|
|
11081
11086
|
"kind": "import-statement",
|
|
11082
11087
|
"original": "@100mslive/hms-whiteboard/index.css"
|
|
11083
11088
|
},
|
|
@@ -12716,7 +12721,7 @@
|
|
|
12716
12721
|
"format": "esm"
|
|
12717
12722
|
},
|
|
12718
12723
|
"src/Prebuilt/AppStateContext.tsx": {
|
|
12719
|
-
"bytes":
|
|
12724
|
+
"bytes": 3230,
|
|
12720
12725
|
"imports": [
|
|
12721
12726
|
{
|
|
12722
12727
|
"path": "react",
|
|
@@ -14950,7 +14955,7 @@
|
|
|
14950
14955
|
"dist/index.js": {
|
|
14951
14956
|
"imports": [
|
|
14952
14957
|
{
|
|
14953
|
-
"path": "dist/chunk-
|
|
14958
|
+
"path": "dist/chunk-4PDMOI7P.js",
|
|
14954
14959
|
"kind": "import-statement"
|
|
14955
14960
|
}
|
|
14956
14961
|
],
|
|
@@ -15026,16 +15031,16 @@
|
|
|
15026
15031
|
"inputs": {},
|
|
15027
15032
|
"bytes": 1882
|
|
15028
15033
|
},
|
|
15029
|
-
"dist/HLSView-
|
|
15034
|
+
"dist/HLSView-NOYWP3DT.js.map": {
|
|
15030
15035
|
"imports": [],
|
|
15031
15036
|
"exports": [],
|
|
15032
15037
|
"inputs": {},
|
|
15033
15038
|
"bytes": 100275
|
|
15034
15039
|
},
|
|
15035
|
-
"dist/HLSView-
|
|
15040
|
+
"dist/HLSView-NOYWP3DT.js": {
|
|
15036
15041
|
"imports": [
|
|
15037
15042
|
{
|
|
15038
|
-
"path": "dist/chunk-
|
|
15043
|
+
"path": "dist/chunk-4PDMOI7P.js",
|
|
15039
15044
|
"kind": "import-statement"
|
|
15040
15045
|
},
|
|
15041
15046
|
{
|
|
@@ -15213,7 +15218,7 @@
|
|
|
15213
15218
|
"default"
|
|
15214
15219
|
],
|
|
15215
15220
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
|
15216
|
-
"cssBundle": "dist/HLSView-
|
|
15221
|
+
"cssBundle": "dist/HLSView-ANYU6AJB.css",
|
|
15217
15222
|
"inputs": {
|
|
15218
15223
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
|
15219
15224
|
"bytesInOutput": 27671
|
|
@@ -15272,13 +15277,13 @@
|
|
|
15272
15277
|
},
|
|
15273
15278
|
"bytes": 61702
|
|
15274
15279
|
},
|
|
15275
|
-
"dist/chunk-
|
|
15280
|
+
"dist/chunk-4PDMOI7P.js.map": {
|
|
15276
15281
|
"imports": [],
|
|
15277
15282
|
"exports": [],
|
|
15278
15283
|
"inputs": {},
|
|
15279
|
-
"bytes":
|
|
15284
|
+
"bytes": 3441758
|
|
15280
15285
|
},
|
|
15281
|
-
"dist/chunk-
|
|
15286
|
+
"dist/chunk-4PDMOI7P.js": {
|
|
15282
15287
|
"imports": [
|
|
15283
15288
|
{
|
|
15284
15289
|
"path": "react",
|
|
@@ -16305,6 +16310,11 @@
|
|
|
16305
16310
|
"kind": "import-statement",
|
|
16306
16311
|
"external": true
|
|
16307
16312
|
},
|
|
16313
|
+
{
|
|
16314
|
+
"path": "eventemitter2",
|
|
16315
|
+
"kind": "import-statement",
|
|
16316
|
+
"external": true
|
|
16317
|
+
},
|
|
16308
16318
|
{
|
|
16309
16319
|
"path": "uuid",
|
|
16310
16320
|
"kind": "import-statement",
|
|
@@ -17751,7 +17761,7 @@
|
|
|
17751
17761
|
"external": true
|
|
17752
17762
|
},
|
|
17753
17763
|
{
|
|
17754
|
-
"path": "dist/HLSView-
|
|
17764
|
+
"path": "dist/HLSView-NOYWP3DT.js",
|
|
17755
17765
|
"kind": "dynamic-import"
|
|
17756
17766
|
},
|
|
17757
17767
|
{
|
|
@@ -18340,10 +18350,10 @@
|
|
|
18340
18350
|
],
|
|
18341
18351
|
"inputs": {
|
|
18342
18352
|
"<define:process.env>": {
|
|
18343
|
-
"bytesInOutput":
|
|
18353
|
+
"bytesInOutput": 17930
|
|
18344
18354
|
},
|
|
18345
18355
|
"../../node_modules/lodash/lodash.js": {
|
|
18346
|
-
"bytesInOutput":
|
|
18356
|
+
"bytesInOutput": 224291
|
|
18347
18357
|
},
|
|
18348
18358
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
|
18349
18359
|
"bytesInOutput": 42494
|
|
@@ -18649,10 +18659,10 @@
|
|
|
18649
18659
|
"bytesInOutput": 2709
|
|
18650
18660
|
},
|
|
18651
18661
|
"src/Prebuilt/provider/roomLayoutProvider/index.tsx": {
|
|
18652
|
-
"bytesInOutput":
|
|
18662
|
+
"bytesInOutput": 1312
|
|
18653
18663
|
},
|
|
18654
18664
|
"src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts": {
|
|
18655
|
-
"bytesInOutput":
|
|
18665
|
+
"bytesInOutput": 2483
|
|
18656
18666
|
},
|
|
18657
18667
|
"src/Prebuilt/provider/roomLayoutProvider/constants/index.ts": {
|
|
18658
18668
|
"bytesInOutput": 1486
|
|
@@ -18823,7 +18833,7 @@
|
|
|
18823
18833
|
"bytesInOutput": 9482
|
|
18824
18834
|
},
|
|
18825
18835
|
"../hms-video-store/dist/index.js": {
|
|
18826
|
-
"bytesInOutput":
|
|
18836
|
+
"bytesInOutput": 50110
|
|
18827
18837
|
},
|
|
18828
18838
|
"../../node_modules/reselect/es/index.js": {
|
|
18829
18839
|
"bytesInOutput": 2539
|
|
@@ -19209,7 +19219,7 @@
|
|
|
19209
19219
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
|
19210
19220
|
"bytesInOutput": 2830
|
|
19211
19221
|
},
|
|
19212
|
-
"../../../../../../../tmp/tmp-
|
|
19222
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2ad510/index.css": {
|
|
19213
19223
|
"bytesInOutput": 0
|
|
19214
19224
|
},
|
|
19215
19225
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
@@ -19258,7 +19268,7 @@
|
|
|
19258
19268
|
"bytesInOutput": 2185
|
|
19259
19269
|
},
|
|
19260
19270
|
"src/Prebuilt/AppStateContext.tsx": {
|
|
19261
|
-
"bytesInOutput":
|
|
19271
|
+
"bytesInOutput": 2668
|
|
19262
19272
|
},
|
|
19263
19273
|
"src/Prebuilt/components/hooks/useRedirectToLeave.tsx": {
|
|
19264
19274
|
"bytesInOutput": 491
|
|
@@ -19378,7 +19388,7 @@
|
|
|
19378
19388
|
"bytesInOutput": 2628
|
|
19379
19389
|
}
|
|
19380
19390
|
},
|
|
19381
|
-
"bytes":
|
|
19391
|
+
"bytes": 1426354
|
|
19382
19392
|
},
|
|
19383
19393
|
"dist/index.css.map": {
|
|
19384
19394
|
"imports": [],
|
|
@@ -19440,22 +19450,22 @@
|
|
|
19440
19450
|
}
|
|
19441
19451
|
],
|
|
19442
19452
|
"inputs": {
|
|
19443
|
-
"../../../../../../../tmp/tmp-
|
|
19453
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2adc21/tldraw.css": {
|
|
19444
19454
|
"bytesInOutput": 75223
|
|
19445
19455
|
},
|
|
19446
|
-
"../../../../../../../tmp/tmp-
|
|
19456
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2ad510/index.css": {
|
|
19447
19457
|
"bytesInOutput": 401
|
|
19448
19458
|
}
|
|
19449
19459
|
},
|
|
19450
19460
|
"bytes": 75901
|
|
19451
19461
|
},
|
|
19452
|
-
"dist/HLSView-
|
|
19462
|
+
"dist/HLSView-ANYU6AJB.css.map": {
|
|
19453
19463
|
"imports": [],
|
|
19454
19464
|
"exports": [],
|
|
19455
19465
|
"inputs": {},
|
|
19456
19466
|
"bytes": 122402
|
|
19457
19467
|
},
|
|
19458
|
-
"dist/HLSView-
|
|
19468
|
+
"dist/HLSView-ANYU6AJB.css": {
|
|
19459
19469
|
"imports": [
|
|
19460
19470
|
{
|
|
19461
19471
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
|
@@ -19509,10 +19519,10 @@
|
|
|
19509
19519
|
}
|
|
19510
19520
|
],
|
|
19511
19521
|
"inputs": {
|
|
19512
|
-
"../../../../../../../tmp/tmp-
|
|
19522
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2adc21/tldraw.css": {
|
|
19513
19523
|
"bytesInOutput": 75223
|
|
19514
19524
|
},
|
|
19515
|
-
"../../../../../../../tmp/tmp-
|
|
19525
|
+
"../../../../../../../tmp/tmp-2786-KJnVcz88Ro5M/19096a2ad510/index.css": {
|
|
19516
19526
|
"bytesInOutput": 401
|
|
19517
19527
|
}
|
|
19518
19528
|
},
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.15-alpha.
|
|
13
|
+
"version": "0.3.15-alpha.6",
|
|
14
14
|
"author": "100ms",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@100mslive/hls-player": "0.3.15-alpha.
|
|
78
|
+
"@100mslive/hls-player": "0.3.15-alpha.6",
|
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.15-alpha.
|
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.5-alpha.
|
|
82
|
-
"@100mslive/react-icons": "0.10.15-alpha.
|
|
83
|
-
"@100mslive/react-sdk": "0.10.15-alpha.
|
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.15-alpha.6",
|
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.5-alpha.6",
|
|
82
|
+
"@100mslive/react-icons": "0.10.15-alpha.6",
|
|
83
|
+
"@100mslive/react-sdk": "0.10.15-alpha.6",
|
|
84
84
|
"@100mslive/types-prebuilt": "0.12.9",
|
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"uuid": "^8.3.2",
|
|
117
117
|
"worker-timers": "^7.0.40"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "d49a7ca4cb1717edf1afa0649da140ce31e179f1"
|
|
120
120
|
}
|
|
@@ -3,7 +3,7 @@ import { usePreviousDistinct } from 'react-use';
|
|
|
3
3
|
import { match, P } from 'ts-pattern';
|
|
4
4
|
import { HMSRoomState, selectRoomState, useHMSStore } from '@100mslive/react-sdk';
|
|
5
5
|
import { VBHandler } from './components/VirtualBackground/VBHandler';
|
|
6
|
-
import { useRoomLayout } from './provider/roomLayoutProvider';
|
|
6
|
+
import { useRoomLayout, useSetOriginalLayout } from './provider/roomLayoutProvider';
|
|
7
7
|
import { useRedirectToLeave } from './components/hooks/useRedirectToLeave';
|
|
8
8
|
import {
|
|
9
9
|
useRoomLayoutLeaveScreen,
|
|
@@ -38,6 +38,7 @@ export const useHMSAppStateContext = () => {
|
|
|
38
38
|
|
|
39
39
|
export const useAppStateManager = () => {
|
|
40
40
|
const roomLayout = useRoomLayout();
|
|
41
|
+
const setOriginalLayout = useSetOriginalLayout();
|
|
41
42
|
const [activeState, setActiveState] = React.useState<PrebuiltStates | undefined>();
|
|
42
43
|
const roomState = useHMSStore(selectRoomState);
|
|
43
44
|
const prevRoomState = usePreviousDistinct(roomState);
|
|
@@ -46,6 +47,7 @@ export const useAppStateManager = () => {
|
|
|
46
47
|
const { redirectToLeave } = useRedirectToLeave();
|
|
47
48
|
|
|
48
49
|
const rejoin = () => {
|
|
50
|
+
setOriginalLayout?.();
|
|
49
51
|
setActiveState(isPreviewScreenEnabled ? PrebuiltStates.PREVIEW : PrebuiltStates.MEETING);
|
|
50
52
|
};
|
|
51
53
|
|
|
@@ -26,6 +26,7 @@ export type useFetchRoomLayoutProps = {
|
|
|
26
26
|
export type useFetchRoomLayoutResponse = {
|
|
27
27
|
layout: Layout | undefined;
|
|
28
28
|
updateRoomLayoutForRole: (role: string) => void;
|
|
29
|
+
setOriginalLayout: () => void;
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
export const useFetchRoomLayout = ({
|
|
@@ -34,7 +35,11 @@ export const useFetchRoomLayout = ({
|
|
|
34
35
|
}: useFetchRoomLayoutProps): useFetchRoomLayoutResponse => {
|
|
35
36
|
const [layout, setLayout] = useState<Layout | undefined>(undefined);
|
|
36
37
|
const layoutResp = useRef<GetResponse>();
|
|
38
|
+
const originalLayout = useRef<Layout>();
|
|
37
39
|
const isFetchInProgress = useRef(false);
|
|
40
|
+
|
|
41
|
+
const setOriginalLayout = useCallback(() => setLayout(originalLayout.current), []);
|
|
42
|
+
|
|
38
43
|
const updateRoomLayoutForRole = useCallback((role: string) => {
|
|
39
44
|
if (!layoutResp.current) {
|
|
40
45
|
return;
|
|
@@ -71,10 +76,13 @@ export const useFetchRoomLayout = ({
|
|
|
71
76
|
layoutForRole = defaultLayout;
|
|
72
77
|
}
|
|
73
78
|
const layout = layoutForRole;
|
|
79
|
+
if (!originalLayout.current) {
|
|
80
|
+
originalLayout.current = layout;
|
|
81
|
+
}
|
|
74
82
|
setLayout(layout);
|
|
75
83
|
isFetchInProgress.current = false;
|
|
76
84
|
})();
|
|
77
85
|
}, [authToken, endpoint]);
|
|
78
86
|
|
|
79
|
-
return { layout, updateRoomLayoutForRole };
|
|
87
|
+
return { layout, updateRoomLayoutForRole, setOriginalLayout };
|
|
80
88
|
};
|
|
@@ -14,6 +14,7 @@ export const RoomLayoutContext = React.createContext<
|
|
|
14
14
|
| {
|
|
15
15
|
layout: Layout | undefined;
|
|
16
16
|
updateRoomLayoutForRole: useFetchRoomLayoutResponse['updateRoomLayoutForRole'] | undefined;
|
|
17
|
+
setOriginalLayout: useFetchRoomLayoutResponse['setOriginalLayout'] | undefined;
|
|
17
18
|
}
|
|
18
19
|
| undefined
|
|
19
20
|
>(undefined);
|
|
@@ -35,10 +36,13 @@ export const RoomLayoutProvider: React.FC<React.PropsWithChildren<RoomLayoutProv
|
|
|
35
36
|
overrideLayout,
|
|
36
37
|
}) => {
|
|
37
38
|
const authToken: string = useAuthToken();
|
|
38
|
-
const { layout, updateRoomLayoutForRole } = useFetchRoomLayout({
|
|
39
|
+
const { layout, updateRoomLayoutForRole, setOriginalLayout } = useFetchRoomLayout({
|
|
40
|
+
authToken,
|
|
41
|
+
endpoint: roomLayoutEndpoint,
|
|
42
|
+
});
|
|
39
43
|
const mergedLayout = authToken && layout ? mergeWith(layout, overrideLayout, customizer) : layout;
|
|
40
44
|
return (
|
|
41
|
-
<RoomLayoutContext.Provider value={{ layout: mergedLayout, updateRoomLayoutForRole }}>
|
|
45
|
+
<RoomLayoutContext.Provider value={{ layout: mergedLayout, updateRoomLayoutForRole, setOriginalLayout }}>
|
|
42
46
|
{children}
|
|
43
47
|
</RoomLayoutContext.Provider>
|
|
44
48
|
);
|
|
@@ -46,3 +50,4 @@ export const RoomLayoutProvider: React.FC<React.PropsWithChildren<RoomLayoutProv
|
|
|
46
50
|
|
|
47
51
|
export const useRoomLayout = () => React.useContext(RoomLayoutContext)?.layout;
|
|
48
52
|
export const useUpdateRoomLayout = () => React.useContext(RoomLayoutContext)?.updateRoomLayoutForRole;
|
|
53
|
+
export const useSetOriginalLayout = () => React.useContext(RoomLayoutContext)?.setOriginalLayout;
|