fix: don't set location to "N/A"

This commit is contained in:
Isaac
2022-12-20 16:41:02 +00:00
parent 7cf3dfaa79
commit cebce2d5ef

View File

@@ -293,7 +293,7 @@ export default class Background extends PureComponent {
photoInfo: { photoInfo: {
hidden: false, hidden: false,
credit: randomPhoto.photographer, credit: randomPhoto.photographer,
location: randomPhoto.location || 'N/A', location: randomPhoto.location,
}, },
}); });
} }
@@ -313,7 +313,7 @@ export default class Background extends PureComponent {
photoInfo: { photoInfo: {
hidden: false, hidden: false,
credit: randomPhoto.photographer, credit: randomPhoto.photographer,
location: randomPhoto.location || 'N/A', location: randomPhoto.location,
}, },
}); });
} else { } else {
@@ -328,7 +328,7 @@ export default class Background extends PureComponent {
photoInfo: { photoInfo: {
hidden: false, hidden: false,
credit: randomPhoto.photographer, credit: randomPhoto.photographer,
location: randomPhoto.location || 'N/A', location: randomPhoto.location,
}, },
}); });
} }