Cleaning console.logs

This commit is contained in:
Byurhan Beyzat 2020-01-08 13:49:41 +02:00
parent 95b6950c20
commit 6ce6fdd8aa
2 changed files with 2 additions and 7 deletions

View file

@ -38,7 +38,6 @@ function sourceNodes({ actions, createNodeId, createContentDigest }) {
actions.createNode({ ...tag, ...nodeMeta });
});
console.log(countries());
// Add Countries to GraphQL API
countries().forEach(country => {
const nodeMeta = {
@ -56,9 +55,7 @@ function sourceNodes({ actions, createNodeId, createContentDigest }) {
actions.createNode({ ...country, ...nodeMeta });
});
console.log(computers());
// Add Phones to GraphQL API
// Add Computers to GraphQL API
computers().forEach(computer => {
const nodeMeta = {
id: createNodeId(`computer-${computer.name}`),
@ -74,8 +71,6 @@ function sourceNodes({ actions, createNodeId, createContentDigest }) {
actions.createNode({ ...computer, ...nodeMeta });
});
console.log(phones());
// Add Phones to GraphQL API
phones().forEach(phone => {
const nodeMeta = {

View file

@ -10,7 +10,7 @@ export default function Topics() {
currentTag,
setCurrentTag,
} = useContext(FilterContext);
console.log(countries);
return (
<div className="tags">
{tags.map(tag => (