Upgrade gatsby-plugin-react-i18next to new release

This commit is contained in:
Kevin Kandlbinder 2021-02-12 08:58:37 +01:00
parent ad2bcd3312
commit 37b12abb78
14 changed files with 421 additions and 49 deletions

View file

@ -7,7 +7,7 @@ import PropTypes from "prop-types"
import styles from "./friends.module.scss";
export const query = graphql`
query AllFriendsQuery {
query AllFriendsQuery($language: String!) {
allFriendsJson {
nodes {
name
@ -16,6 +16,15 @@ query AllFriendsQuery {
imageURL
}
}
locales: allLocale(filter: {language: {eq: $language}}) {
edges {
node {
ns
data
language
}
}
}
}
`