Skip to content

Commit

Permalink
Merge pull request #126 from KenEucker/develop
Browse files Browse the repository at this point in the history
1.13.2
  • Loading branch information
KenEucker authored Dec 14, 2021
2 parents 8b66da8 + 9c33e3e commit df26fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sanity/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export function constructGameFromSanityObject(
}, {})
: data

const settings = data.settings
const settings = data.settings ?? []

gameDataReferenceFields.forEach((f) => {
if (gameData[f] && typeof gameData[f] !== 'undefined') {
Expand Down

0 comments on commit df26fab

Please sign in to comment.