fix: stop ad display in Dev mode (#149)

This commit is contained in:
Prasham Ashesh authored and Ritesh Kumar committed 2019-10-09 18:22:22 +05:30
1 parent 126de50f11
commit 5c8dbd22f4
1 file changed
+4 -3
+4 -3
View File
@@ -10,9 +10,10 @@ export default function() {
const router = useRouter();
useEffect(() => {
loadScript("https://codefund.io/properties/367/funder.js", {
async: true
});
if (!IS_DEV)
loadScript("https://codefund.io/properties/367/funder.js", {
async: true
});
}, []);
return (