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 });
|
||||
});
|
||||
|
||||
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 = {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ export default function Topics() {
|
|||
currentTag,
|
||||
setCurrentTag,
|
||||
} = useContext(FilterContext);
|
||||
console.log(countries);
|
||||
|
||||
return (
|
||||
<div className="tags">
|
||||
{tags.map(tag => (
|
||||
|
|
|
|||
Loading…
Reference in a new issue