diff --git a/packages/roomkit-react/src/Prebuilt/components/AppData/AppData.tsx b/packages/roomkit-react/src/Prebuilt/components/AppData/AppData.tsx index 0b6e006088..9886acbf47 100644 --- a/packages/roomkit-react/src/Prebuilt/components/AppData/AppData.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/AppData/AppData.tsx @@ -125,7 +125,7 @@ export const AppData = React.memo(() => { ? DEFAULT_TILES_IN_VIEW.MWEB : Number(elements?.video_tile_layout?.grid?.tiles_in_view) || DEFAULT_TILES_IN_VIEW.DESKTOP, }; - hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true); + hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, false); }, [preferences, hmsActions, elements?.video_tile_layout, isMobile]); useEffect(() => { diff --git a/packages/roomkit-react/src/Prebuilt/components/Settings/LayoutSettings.tsx b/packages/roomkit-react/src/Prebuilt/components/Settings/LayoutSettings.tsx index 6f2daf133d..52d3c3ec98 100644 --- a/packages/roomkit-react/src/Prebuilt/components/Settings/LayoutSettings.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/Settings/LayoutSettings.tsx @@ -41,34 +41,6 @@ export const LayoutSettings = () => { return ( - - {/* - Layout Modes - - - setUISettings({ - [UI_SETTINGS.layoutMode]: value, - }) - } - > - {Object.keys(LayoutMode).map(key => { - return ( - - - - - - - ); - })} - */} - Tiles In View({maxTileCount})