diff --git a/src/components/modals/main/settings/sections/background/Background.jsx b/src/components/modals/main/settings/sections/background/Background.jsx
index 1131a7d7..7f551956 100644
--- a/src/components/modals/main/settings/sections/background/Background.jsx
+++ b/src/components/modals/main/settings/sections/background/Background.jsx
@@ -137,13 +137,13 @@ export default class BackgroundSettings extends PureComponent {
{category.count})
))}
-
+ */}
- */}
+
>
)}
{
- if (test !== null) {
- const targetTime = Number(
- Number(localStorage.getItem('quoteStartTime')) +
- Number(localStorage.getItem('quotechange')),
- );
- const currentTime = Number(Date.now());
- if (currentTime >= targetTime) {
- this.setZoom();
- this.getQuote();
- localStorage.setItem('quoteStartTime', Date.now());
- } else {
- try {
- this.setState(JSON.parse(localStorage.getItem('currentQuote')));
- } catch (e) {
- this.setZoom();
- this.getQuote();
- }
- }
- }
- });
+ // this.interval = setInterval(() => {
+ // if (test !== null) {
+ // const targetTime = Number(
+ // Number(localStorage.getItem('quoteStartTime')) +
+ // Number(localStorage.getItem('quotechange')),
+ // );
+ // const currentTime = Number(Date.now());
+ // if (currentTime >= targetTime) {
+ // this.setZoom();
+ // this.getQuote();
+ // localStorage.setItem('quoteStartTime', Date.now());
+ // } else {
+ // try {
+ // this.setState(JSON.parse(localStorage.getItem('currentQuote')));
+ // } catch (e) {
+ // this.setZoom();
+ // this.getQuote();
+ // }
+ // }
+ // }
+ // });
+
+ this.setZoom();
+ this.getQuote();
EventBus.on('refresh', (data) => {
if (data === 'quote') {