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