diff --git a/src/components/modals/main/settings/sections/About.jsx b/src/components/modals/main/settings/sections/About.jsx index f9889ba9..f5c691cb 100644 --- a/src/components/modals/main/settings/sections/About.jsx +++ b/src/components/modals/main/settings/sections/About.jsx @@ -16,7 +16,7 @@ export default class About extends React.PureComponent { contributors: [], sponsors: [], other_contributors: [], - photographers: [], + photographers: window.language.modals.main.loading, update: window.language.modals.main.settings.sections.about.version.checking_update, loading: window.language.modals.main.loading }; @@ -54,7 +54,6 @@ export default class About extends React.PureComponent { updateMsg = `${this.language.version.update_available}: ${newVersion}`; } - this.setState({ contributors: contributors.filter((contributor) => !contributor.login.includes('bot')), sponsors: sponsors, @@ -103,7 +102,7 @@ export default class About extends React.PureComponent {
Pexels, Unsplash ({this.language.resources_used.bg_images})
Google Fonts ({this.language.resources_used.pin_icon})
-Undraw ({this.language.resources_used.welcome_img})
+Undraw ({this.language.resources_used.welcome_img})
{this.state.loading}
@@ -128,7 +127,6 @@ export default class About extends React.PureComponent { ))}{this.state.loading}
{this.state.photographers}
> ); diff --git a/src/components/modals/main/settings/sections/Quote.jsx b/src/components/modals/main/settings/sections/Quote.jsx index 2b3b48f4..434143dc 100644 --- a/src/components/modals/main/settings/sections/Quote.jsx +++ b/src/components/modals/main/settings/sections/Quote.jsx @@ -34,6 +34,7 @@ export default class QuoteSettings extends React.PureComponent { switch (this.state.quoteType) { case 'custom': quoteSettings = customSettings; break; + default: break; } return ( diff --git a/src/components/modals/main/settings/sections/Weather.jsx b/src/components/modals/main/settings/sections/Weather.jsx index 43d3aa2a..f6c303bc 100644 --- a/src/components/modals/main/settings/sections/Weather.jsx +++ b/src/components/modals/main/settings/sections/Weather.jsx @@ -3,6 +3,7 @@ import React from 'react'; import Switch from '../Switch'; import Radio from '../Radio'; import Checkbox from '../Checkbox'; +import Slider from '../Slider'; export default class TimeSettings extends React.PureComponent { constructor() { @@ -71,6 +72,8 @@ export default class TimeSettings extends React.PureComponent {