diff --git a/src/app/features/room/CallChatView.tsx b/src/app/features/room/CallChatView.tsx
index edfd08841..ce9f0fc06 100644
--- a/src/app/features/room/CallChatView.tsx
+++ b/src/app/features/room/CallChatView.tsx
@@ -1,6 +1,6 @@
import { useSetAtom } from 'jotai';
import { useParams } from 'react-router-dom';
-import { Box, Text, TooltipProvider, Tooltip, Icon, Icons, IconButton } from 'folds';
+import { Box, Text, TooltipProvider, Tooltip, Icon, Icons, IconButton, toRem } from 'folds';
import { Page, PageHeader } from '../../components/page';
import { callChatAtom } from '../../state/callEmbed';
import { RoomView } from './RoomView';
@@ -18,26 +18,26 @@ export function CallChatView() {
const handleClose = () => setChat(false);
- const [threadSidebarWidth, setThreadSidebarWidth] = useSetting(settingsAtom, 'vcmsgSidebarWidth');
- const [curWidth, setCurWidth] = useState(threadSidebarWidth);
+ const [vcmsgSidebarWidth, setVcmsgSidebarWidth] = useSetting(settingsAtom, 'vcmsgSidebarWidth');
+ const [curWidth, setCurWidth] = useState(vcmsgSidebarWidth);
useEffect(() => {
- setCurWidth(threadSidebarWidth);
- }, [threadSidebarWidth]);
+ setCurWidth(vcmsgSidebarWidth);
+ }, [vcmsgSidebarWidth]);
return (
<>
{!mobileOrTablet() && (