This commit is contained in:
talksik
2022-05-14 08:23:13 -05:00
parent 7b70c4b023
commit ed71591930
4 changed files with 23 additions and 7 deletions
@@ -21,7 +21,7 @@ export default function Terminal() {
<div className="flex flex-row flex-1">
<SidePanel />
<MainPanel />
{desktopMode === 'mainApp' && <MainPanel />}
</div>
</div>
);
@@ -1,9 +1,12 @@
import React from 'react';
import useAuth from '../../../../providers/AuthProvider';
import useRealTimeRooms from '../../../../providers/RealTimeRoomProvider';
export default function MainPanel() {
const { user } = useAuth();
const { roomsMap } = useRealTimeRooms();
return (
<div
className="flex flex-col flex-1 justify-center items-center bg-gray-100