remove console logs

This commit is contained in:
Dawid Wysokiński 2020-08-09 14:19:59 +02:00
parent b0308b89bd
commit b2063f7e7b

View File

@ -50,7 +50,7 @@ const IndexPage = ({ location, pageContext }) => {
childImageSharp {
id
fluid(maxWidth: 593, quality: 100) {
...GatsbyImageSharpFluid_withWebp
...GatsbyImageSharpFluid
}
}
}
@ -59,9 +59,7 @@ const IndexPage = ({ location, pageContext }) => {
}
`);
const t = translations[pageContext.langKey];
console.log(data.allSs);
const ss = data.allSs.edges.find(edge => {
console.log(edge);
if (edge.node.relativePath.includes(pageContext.langKey)) return edge;
return null;
});