fix a few things? (webpack related)

This commit is contained in:
David Ralph
2021-01-18 16:36:41 +00:00
parent f7946c4e19
commit c83b65f27b
4 changed files with 43 additions and 11 deletions

View File

@@ -68,7 +68,7 @@ export default class Background extends React.PureComponent {
Math.floor(Math.random() * offlineImages[photographer].photo.length)
]; // Select a random image
const url = `../offline-images/${randomImage}.jpg`;
const url = `./offline-images/${randomImage}.jpg`;
this.setBackground(url);
this.setCredit(photographer);