Skip to content

Commit

Permalink
콘솔 메세지 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
dasdfadssda committed Oct 24, 2023
1 parent a653be0 commit 48ed2e5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ import React, { useEffect } from "react";
import ProjectDetailPage from "./pages/ProjectDetail";

function App() {

if (1+1 === 2) {
window.console = {
log: function () {},
warn: function () {},
error: function () {},
};
}

const tagManagerArgs = {
gtmId: "GTM-MW5N2QW",
};
Expand All @@ -33,6 +24,7 @@ function App() {
ReactGA.initialize(gaTrackingId, { debug: true }); // react-ga 초기화 및 debug 사용
ReactGA.pageview(window.location.pathname); // 추적하려는 page 설정


return (
<Router>
<ScrollToTop />
Expand Down

0 comments on commit 48ed2e5

Please sign in to comment.