mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Cleaning console.logs
This commit is contained in:
parent
95b6950c20
commit
6ce6fdd8aa
2 changed files with 2 additions and 7 deletions
|
|
@ -38,7 +38,6 @@ function sourceNodes({ actions, createNodeId, createContentDigest }) {
|
||||||
actions.createNode({ ...tag, ...nodeMeta });
|
actions.createNode({ ...tag, ...nodeMeta });
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(countries());
|
|
||||||
// Add Countries to GraphQL API
|
// Add Countries to GraphQL API
|
||||||
countries().forEach(country => {
|
countries().forEach(country => {
|
||||||
const nodeMeta = {
|
const nodeMeta = {
|
||||||
|
|
@ -56,9 +55,7 @@ function sourceNodes({ actions, createNodeId, createContentDigest }) {
|
||||||
actions.createNode({ ...country, ...nodeMeta });
|
actions.createNode({ ...country, ...nodeMeta });
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(computers());
|
// Add Computers to GraphQL API
|
||||||
|
|
||||||
// Add Phones to GraphQL API
|
|
||||||
computers().forEach(computer => {
|
computers().forEach(computer => {
|
||||||
const nodeMeta = {
|
const nodeMeta = {
|
||||||
id: createNodeId(`computer-${computer.name}`),
|
id: createNodeId(`computer-${computer.name}`),
|
||||||
|
|
@ -74,8 +71,6 @@ function sourceNodes({ actions, createNodeId, createContentDigest }) {
|
||||||
actions.createNode({ ...computer, ...nodeMeta });
|
actions.createNode({ ...computer, ...nodeMeta });
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(phones());
|
|
||||||
|
|
||||||
// Add Phones to GraphQL API
|
// Add Phones to GraphQL API
|
||||||
phones().forEach(phone => {
|
phones().forEach(phone => {
|
||||||
const nodeMeta = {
|
const nodeMeta = {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export default function Topics() {
|
||||||
currentTag,
|
currentTag,
|
||||||
setCurrentTag,
|
setCurrentTag,
|
||||||
} = useContext(FilterContext);
|
} = useContext(FilterContext);
|
||||||
console.log(countries);
|
|
||||||
return (
|
return (
|
||||||
<div className="tags">
|
<div className="tags">
|
||||||
{tags.map(tag => (
|
{tags.map(tag => (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue