From 29b4ccaa3248a705ab4b1a1ae51a256a9e040a64 Mon Sep 17 00:00:00 2001 From: Muhammad Sanjar Afaq Date: Mon, 4 Jul 2022 15:29:41 +0530 Subject: [PATCH] Remove file level log statements --- src/Apps/DescendantReRender/Child.jsx | 2 +- src/Apps/DescendantReRender/DescendantReRender.jsx | 2 +- src/Apps/DescendantReRender/Parent.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Apps/DescendantReRender/Child.jsx b/src/Apps/DescendantReRender/Child.jsx index 84ff46b..3487e64 100644 --- a/src/Apps/DescendantReRender/Child.jsx +++ b/src/Apps/DescendantReRender/Child.jsx @@ -1,4 +1,4 @@ -console.log(Child.name + " file run"); +// console.log(Child.name + " file run"); function Child({ count, setCount }) { console.log(Child.name + " funtion run"); diff --git a/src/Apps/DescendantReRender/DescendantReRender.jsx b/src/Apps/DescendantReRender/DescendantReRender.jsx index 3f270fd..7d86ea7 100644 --- a/src/Apps/DescendantReRender/DescendantReRender.jsx +++ b/src/Apps/DescendantReRender/DescendantReRender.jsx @@ -1,7 +1,7 @@ import { useState } from "react"; import Parent from "./Parent"; -console.log(DescendantReRender.name + " file run"); +// console.log(DescendantReRender.name + " file run"); function DescendantReRender() { console.log(DescendantReRender.name + " function run"); diff --git a/src/Apps/DescendantReRender/Parent.jsx b/src/Apps/DescendantReRender/Parent.jsx index 466c8c2..f486645 100644 --- a/src/Apps/DescendantReRender/Parent.jsx +++ b/src/Apps/DescendantReRender/Parent.jsx @@ -1,7 +1,7 @@ import { useState } from "react"; import Child from "./Child"; -console.log(Parent.name + " file run"); +// console.log(Parent.name + " file run"); function Parent({ count, setCount }) { console.log(Parent.name + " function run");