cleanup render count for console log clairty
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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} />;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user