cleanup render count for console log clairty

This commit is contained in:
talksik
2022-06-19 10:41:03 -05:00
parent 73ec1fe08c
commit 1d250c4e51
3 changed files with 4 additions and 4 deletions
@@ -44,7 +44,7 @@ export function ConversationList() {
const { conversationMap } = useConversations(); const { conversationMap } = useConversations();
const rendersCount = useRendersCount(); const rendersCount = useRendersCount();
console.warn('RENDER COUNT | CONVERSATION LIST | ', rendersCount); // console.warn('RENDER COUNT | CONVERSATION LIST | ', rendersCount);
// don't actually dial, just show nirvana support there // don't actually dial, just show nirvana support there
const handleQuickDialSupport = useCallback(() => { const handleQuickDialSupport = useCallback(() => {
@@ -153,7 +153,7 @@ export function ConversationRow({
const { selectedConversation, selectConversation } = useConversations(); const { selectedConversation, selectConversation } = useConversations();
const rendersCount = useRendersCount(); const rendersCount = useRendersCount();
console.warn('RENDER COUNT | CONVERSATION LIST ROW | ', rendersCount); // console.warn('RENDER COUNT | CONVERSATION LIST ROW | ', rendersCount);
const handleSelectConversation = useCallback(() => { const handleSelectConversation = useCallback(() => {
if (onClick) { if (onClick) {
+1 -1
View File
@@ -18,7 +18,7 @@ export default function MainPanel() {
// render room contents if there are people with video or other tracks // render room contents if there are people with video or other tracks
const rendersCount = useRendersCount(); const rendersCount = useRendersCount();
console.warn('RENDER COUNT | MAINPANEL | ', rendersCount); // console.warn('RENDER COUNT | MAINPANEL | ', rendersCount);
if (selectedConversation) if (selectedConversation)
return <ConversationDetails masterConversation={selectedConversation} />; return <ConversationDetails masterConversation={selectedConversation} />;
+1 -1
View File
@@ -30,7 +30,7 @@ const Navbar = () => {
); );
const rendersCount = useRendersCount(); const rendersCount = useRendersCount();
console.warn('RENDER COUNT | NAVBAR | ', rendersCount); // console.warn('RENDER COUNT | NAVBAR | ', rendersCount);
return ( return (
<Stack <Stack