From 05b787db5a53faf796f36cc8f54a79e8be07c0f2 Mon Sep 17 00:00:00 2001 From: alexsparkes Date: Thu, 27 Oct 2022 21:30:08 +0100 Subject: [PATCH] fix: comment out code causing flash thank you rooray --- src/components/widgets/background/Background.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/widgets/background/Background.jsx b/src/components/widgets/background/Background.jsx index ff8599e6..5d53f889 100644 --- a/src/components/widgets/background/Background.jsx +++ b/src/components/widgets/background/Background.jsx @@ -274,6 +274,7 @@ export default class Background extends PureComponent { Number(Date.now()), ) ) { + {/*} const randomPhoto = photoPack[localStorage.getItem('marketplaceNumber')]; return this.setState({ url: randomPhoto.url.default, @@ -284,6 +285,8 @@ export default class Background extends PureComponent { location: randomPhoto.location || 'N/A', }, }); + */} + break; } else { localStorage.setItem('marketplaceNumber', randomNumber) return this.setState({