render render count

This commit is contained in:
talksik
2022-05-29 15:41:16 -05:00
parent 1e03c15b4f
commit abe1a85884
5 changed files with 24 additions and 3 deletions
@@ -19,12 +19,16 @@ import {
} from '@mui/material';
import { FiSun, FiMoreVertical, FiPlay, FiCloudRain } from 'react-icons/fi';
import ConversationLabel from '../subcomponents/ConversationLabel';
import { useRendersCount } from 'react-use';
export default function ConversationDetails() {
const { user } = useAuth();
const { getUser, selectedConversation, selectConversation, isCloudDoingMagic } = useTerminal();
const [conversationUsers, setConversationUsers] = useImmer<User[]>([]);
const rendersCount = useRendersCount();
console.warn('RENDER COUNT | CONVERSATION DETAILS | ', rendersCount);
// TODO: at the terminal level, make sure we are listening for audio clips
// and here it's just an access of that map of content for each conversation's blocks