Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Angryman18 committed Aug 2, 2022
1 parent 0defb3e commit 1fbb664
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import reportWebVitals from "reportWebVitals";
import register from "./registerServiceWorker";

/** removing console statement in react prod build */
// if (process.env.NODE_ENV !== "development") {
// console.log = () => {};
// console.debug = () => {};
// console.info = () => {};
// console.disableYellowBox = true;
// }
if (process.env.NODE_ENV !== "development") {
console.log = () => {};
console.debug = () => {};
console.info = () => {};
console.disableYellowBox = true;
}

const Index = () => {
const [searchTerm, setSearchTerm] = useState("");
Expand Down

0 comments on commit 1fbb664

Please sign in to comment.