AykutSarac преди 3 години
родител
ревизия
9fa7878972
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/components/CarbonAds/index.tsx

+ 2 - 0
src/components/CarbonAds/index.tsx

@@ -3,6 +3,8 @@ import React from "react";
 const isDevelopment = process.env.NODE_ENV === "development";
 
 export const CarbonAds = () => {
+  if (isDevelopment) return null;
+  
   return (
     <>
       <script