diff --git a/src/App.jsx b/src/App.jsx
index 593ea3d7..2f0ce920 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -25,14 +25,14 @@ export default class App extends React.PureComponent {
render() {
return (
-
+ <>
-
+ >
);
}
}
diff --git a/src/components/modals/Modals.jsx b/src/components/modals/Modals.jsx
index b9a816ad..a7712455 100644
--- a/src/components/modals/Modals.jsx
+++ b/src/components/modals/Modals.jsx
@@ -9,7 +9,7 @@ const Main = React.lazy(() => import('./main/Main'));
const Update = React.lazy(() => import('./update/Update'));
const Welcome = React.lazy(() => import('./welcome/Welcome'));
//const Feedback = React.lazy(() => import('./components/modals/Feedback'));
-const renderLoader = () =>
;
+const renderLoader = () => <>>;
export default class Modals extends React.PureComponent {
constructor(...args) {
@@ -40,7 +40,7 @@ export default class Modals extends React.PureComponent {
render() {
return (
-
+ <>
this.setState({ [modal]: true })}/>
this.setState({ mainModal: false })} isOpen={this.state.mainModal} className='Modal' overlayClassName={this.state.overlayClassList} ariaHideApp={false}>
@@ -56,7 +56,7 @@ export default class Modals extends React.PureComponent {
this.setState({ feedbackModal: false })} />
*/}
-
+ >
);
}
}
\ No newline at end of file
diff --git a/src/components/modals/main/Main.jsx b/src/components/modals/main/Main.jsx
index e4c0eb91..5547c4e1 100644
--- a/src/components/modals/main/Main.jsx
+++ b/src/components/modals/main/Main.jsx
@@ -12,19 +12,19 @@ export default function MainModal(props) {
const language = window.language;
return (
-
+ <>
×
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ >
);
}
diff --git a/src/components/modals/main/scss/settings/_main.scss b/src/components/modals/main/scss/settings/_main.scss
index aece09cd..d8b0dff0 100644
--- a/src/components/modals/main/scss/settings/_main.scss
+++ b/src/components/modals/main/scss/settings/_main.scss
@@ -49,10 +49,6 @@ h4,
display: inline;
}
-.section {
- margin-bottom: 20px;
-}
-
h4 {
cursor: pointer;
}
diff --git a/src/components/modals/main/settings/Checkbox.jsx b/src/components/modals/main/settings/Checkbox.jsx
index 56e80f22..409a2bff 100644
--- a/src/components/modals/main/settings/Checkbox.jsx
+++ b/src/components/modals/main/settings/Checkbox.jsx
@@ -31,13 +31,13 @@ export default class Checkbox extends React.PureComponent {
}
return (
-
+ <>
this.handleChange()} />}
label={text}
/>
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/Dropdown.jsx b/src/components/modals/main/settings/Dropdown.jsx
index 9f54a932..c1fb64fb 100644
--- a/src/components/modals/main/settings/Dropdown.jsx
+++ b/src/components/modals/main/settings/Dropdown.jsx
@@ -26,14 +26,14 @@ export default class Dropdown extends React.PureComponent {
render() {
return (
-
+ <>
{this.getLabel()}
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/Slider.jsx b/src/components/modals/main/settings/Slider.jsx
index cef48b93..b214258a 100644
--- a/src/components/modals/main/settings/Slider.jsx
+++ b/src/components/modals/main/settings/Slider.jsx
@@ -29,10 +29,10 @@ export default class Slider extends React.PureComponent {
render() {
return (
-
+ <>
{this.props.title} ({this.state.value}{this.props.display}) this.resetItem()}>{this.language.buttons.reset}
this.handleChange(e.target.value)} />
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/Switch.jsx b/src/components/modals/main/settings/Switch.jsx
index 231a9b43..bfdedd01 100644
--- a/src/components/modals/main/settings/Switch.jsx
+++ b/src/components/modals/main/settings/Switch.jsx
@@ -31,14 +31,14 @@ export default class Switch extends React.PureComponent {
}
return (
-
+ <>
this.handleChange()} />}
label={text}
labelPlacement='start'
/>
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/Text.jsx b/src/components/modals/main/settings/Text.jsx
index 91f1fd6d..fbf4c3f3 100644
--- a/src/components/modals/main/settings/Text.jsx
+++ b/src/components/modals/main/settings/Text.jsx
@@ -34,13 +34,13 @@ export default class Text extends React.PureComponent {
render() {
return (
-
+ <>
{this.props.title} this.resetItem()}>{this.language.buttons.reset}
{(this.props.textarea === true) ?
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/About.jsx b/src/components/modals/main/settings/sections/About.jsx
index c3eae952..0bfe6744 100644
--- a/src/components/modals/main/settings/sections/About.jsx
+++ b/src/components/modals/main/settings/sections/About.jsx
@@ -49,7 +49,7 @@ export default class About extends React.PureComponent {
render() {
return (
-
+ <>
{this.language.title}
{this.language.copyright} 2018-{new Date().getFullYear()} Mue Tab (BSD-3 License)
@@ -76,7 +76,7 @@ export default class About extends React.PureComponent {

)}
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Advanced.jsx b/src/components/modals/main/settings/sections/Advanced.jsx
index 02bafa58..04919c08 100644
--- a/src/components/modals/main/settings/sections/Advanced.jsx
+++ b/src/components/modals/main/settings/sections/Advanced.jsx
@@ -33,7 +33,7 @@ export default class AdvancedSettings extends React.PureComponent {
const { advanced } = this.language.sections;
return (
-
+ <>
{advanced.title}
@@ -55,7 +55,7 @@ export default class AdvancedSettings extends React.PureComponent {
this.setState({ resetModal: false })} isOpen={this.state.resetModal} className={'modal'} overlayClassName={'Overlay'} ariaHideApp={false}>
this.setState({ resetModal: false })} />
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Appearance.jsx b/src/components/modals/main/settings/sections/Appearance.jsx
index 9300a342..ddacd4c2 100644
--- a/src/components/modals/main/settings/sections/Appearance.jsx
+++ b/src/components/modals/main/settings/sections/Appearance.jsx
@@ -24,7 +24,7 @@ export default function AppearanceSettings() {
]
return (
-
+ <>
{appearance.title}
@@ -58,6 +58,6 @@ export default function AppearanceSettings() {
-
+ >
);
}
diff --git a/src/components/modals/main/settings/sections/Background.jsx b/src/components/modals/main/settings/sections/Background.jsx
index c5e47e6d..199a254b 100644
--- a/src/components/modals/main/settings/sections/Background.jsx
+++ b/src/components/modals/main/settings/sections/Background.jsx
@@ -200,7 +200,7 @@ export default class BackgroundSettings extends React.PureComponent {
}
return (
-
+ <>
{background.title}
{background.buttons.title}
@@ -231,7 +231,7 @@ export default class BackgroundSettings extends React.PureComponent {
{colourSettings}
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Changelog.jsx b/src/components/modals/main/settings/sections/Changelog.jsx
index 6b46b49a..6ed55f9d 100644
--- a/src/components/modals/main/settings/sections/Changelog.jsx
+++ b/src/components/modals/main/settings/sections/Changelog.jsx
@@ -45,12 +45,12 @@ export default class Changelog extends React.PureComponent {
render() {
return (
-
+ <>
{this.state.title}
{this.state.date}
{this.state.image ?

: null}
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Experimental.jsx b/src/components/modals/main/settings/sections/Experimental.jsx
index ead132ce..1384cf29 100644
--- a/src/components/modals/main/settings/sections/Experimental.jsx
+++ b/src/components/modals/main/settings/sections/Experimental.jsx
@@ -1,9 +1,9 @@
import React from 'react';
-import Checkbox from '../Checkbox';
-export default function ExperimentalSettings (props) {
+export default function ExperimentalSettings() {
return (
-
-
+ <>
+ Coming soon...
+ >
);
}
diff --git a/src/components/modals/main/settings/sections/Greeting.jsx b/src/components/modals/main/settings/sections/Greeting.jsx
index 655b315f..32e13dff 100644
--- a/src/components/modals/main/settings/sections/Greeting.jsx
+++ b/src/components/modals/main/settings/sections/Greeting.jsx
@@ -28,7 +28,7 @@ export default class GreetingSettings extends React.PureComponent {
const { greeting } = this.language.sections;
return (
-
+ <>
{greeting.title}
@@ -42,7 +42,7 @@ export default class GreetingSettings extends React.PureComponent {
{greeting.birthday_date}
this.changeDate(data)} value={this.state.birthday} />
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Language.jsx b/src/components/modals/main/settings/sections/Language.jsx
index 31c9888f..41249d23 100644
--- a/src/components/modals/main/settings/sections/Language.jsx
+++ b/src/components/modals/main/settings/sections/Language.jsx
@@ -5,11 +5,11 @@ import Radio from '../Radio';
const languages = require('../../../../../modules/languages.json');
-export default function LanguageSettings () {
+export default function LanguageSettings() {
const language = window.language.modals.main.settings.sections.language;
return (
-
+ <>
{language.title}
@@ -17,6 +17,6 @@ export default function LanguageSettings () {
-
+ >
);
}
diff --git a/src/components/modals/main/settings/sections/Order.jsx b/src/components/modals/main/settings/sections/Order.jsx
index dad87d0d..7a935b12 100644
--- a/src/components/modals/main/settings/sections/Order.jsx
+++ b/src/components/modals/main/settings/sections/Order.jsx
@@ -34,14 +34,14 @@ export default class OrderSettings extends React.PureComponent {
render() {
return (
-
+ <>
Order
{this.state.items.map((value, index) => (
))}
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Quote.jsx b/src/components/modals/main/settings/sections/Quote.jsx
index 3389d9e7..1b24eacd 100644
--- a/src/components/modals/main/settings/sections/Quote.jsx
+++ b/src/components/modals/main/settings/sections/Quote.jsx
@@ -8,7 +8,7 @@ export default function QuoteSettings() {
const { quote } = window.language.modals.main.settings.sections;
return (
-
+ <>
{quote.title}
@@ -19,6 +19,6 @@ export default function QuoteSettings() {
-
+ >
);
}
\ No newline at end of file
diff --git a/src/components/modals/main/settings/sections/Search.jsx b/src/components/modals/main/settings/sections/Search.jsx
index bc424813..38d2994d 100644
--- a/src/components/modals/main/settings/sections/Search.jsx
+++ b/src/components/modals/main/settings/sections/Search.jsx
@@ -58,7 +58,7 @@ export default class SearchSettings extends React.PureComponent {
const { search } = language.sections;
return (
-
+ <>
{search.title}
@@ -74,7 +74,7 @@ export default class SearchSettings extends React.PureComponent {
{search.custom} this.resetSearch()}>{language.reset}
-
+ >
);
}
}
diff --git a/src/components/modals/main/settings/sections/Time.jsx b/src/components/modals/main/settings/sections/Time.jsx
index 82ad6e3e..857d9997 100644
--- a/src/components/modals/main/settings/sections/Time.jsx
+++ b/src/components/modals/main/settings/sections/Time.jsx
@@ -20,24 +20,24 @@ export default class TimeSettings extends React.PureComponent {
let timeSettings;
const digitalSettings = (
-
+ <>
{time.digital.title}
-
+ >
);
const analogSettings = (
-
+ <>
{time.analogue.title}
-
+ >
);
switch (this.state.timeType) {
@@ -49,14 +49,14 @@ export default class TimeSettings extends React.PureComponent {
let dateSettings;
const longSettings = (
-
+ <>
-
+ >
);
const shortSettings = (
-
+ <>
@@ -70,7 +70,7 @@ export default class TimeSettings extends React.PureComponent {
-
+ >
);
switch (this.state.dateType) {
@@ -79,7 +79,7 @@ export default class TimeSettings extends React.PureComponent {
}
return (
-
+ <>
{time.title}
this.setState({ timeType: value })}>
@@ -97,7 +97,7 @@ export default class TimeSettings extends React.PureComponent {
{dateSettings}
-
+ >
);
}
}
diff --git a/src/components/modals/main/tabs/Addons.jsx b/src/components/modals/main/tabs/Addons.jsx
index 5e72630b..98749cf8 100644
--- a/src/components/modals/main/tabs/Addons.jsx
+++ b/src/components/modals/main/tabs/Addons.jsx
@@ -4,9 +4,9 @@ import Added from '../marketplace/sections/Added';
import AddonsTabs from './backend/Tabs';
-export default function Addons (props) {
+export default function Addons() {
return (
-
+ <>
@@ -15,6 +15,6 @@ export default function Addons (props) {
-
+ >
);
}
diff --git a/src/components/modals/main/tabs/Marketplace.jsx b/src/components/modals/main/tabs/Marketplace.jsx
index 024f8677..64ff0e33 100644
--- a/src/components/modals/main/tabs/Marketplace.jsx
+++ b/src/components/modals/main/tabs/Marketplace.jsx
@@ -3,9 +3,9 @@ import React from 'react';
import MarketplaceBackend from '../marketplace/sections/Marketplace';
import MarketplaceTabs from './backend/Tabs';
-export default function Marketplace (props) {
+export default function Marketplace() {
return (
-
+ <>
@@ -14,6 +14,6 @@ export default function Marketplace (props) {
-
+ >
);
}
diff --git a/src/components/modals/main/tabs/Settings.jsx b/src/components/modals/main/tabs/Settings.jsx
index 5333a7c2..1dc7968e 100644
--- a/src/components/modals/main/tabs/Settings.jsx
+++ b/src/components/modals/main/tabs/Settings.jsx
@@ -14,11 +14,10 @@ import Order from '../settings/sections/Order';
import SettingsTabs from './backend/Tabs';
-export default function Settings () {
+export default function Settings() {
const language = window.language.modals.main.settings.sections;
-
return (
-
+ <>
@@ -37,6 +36,6 @@ export default function Settings () {
IMPORTANT INFO
In order for changes to take place, the page must be refreshed.
-
+ >
);
}
diff --git a/src/components/modals/main/tabs/backend/Tab.jsx b/src/components/modals/main/tabs/backend/Tab.jsx
index 9418c94e..3b37de87 100644
--- a/src/components/modals/main/tabs/backend/Tab.jsx
+++ b/src/components/modals/main/tabs/backend/Tab.jsx
@@ -68,11 +68,11 @@ export default function Tab(props) {
}
return (
-
+ <>
props.onClick(props.label)}>
{icon} {props.label}
- {(divider === true) ?
: null}
-
+ {(divider === true) ?
: null}
+ >
)
}
diff --git a/src/components/widgets/navbar/Notes.jsx b/src/components/widgets/navbar/Notes.jsx
index 4c00f841..87c59a39 100644
--- a/src/components/widgets/navbar/Notes.jsx
+++ b/src/components/widgets/navbar/Notes.jsx
@@ -39,13 +39,8 @@ export default class Notes extends React.PureComponent {
}
render() {
- let classList = 'notescontainer';
- if (localStorage.getItem('darkTheme') === 'true') {
- classList += ' dark';
- }
-
return (
-
+
{this.language.title}
diff --git a/src/components/widgets/quote/Quote.jsx b/src/components/widgets/quote/Quote.jsx
index 0423c7aa..3eed5e8a 100644
--- a/src/components/widgets/quote/Quote.jsx
+++ b/src/components/widgets/quote/Quote.jsx
@@ -143,7 +143,7 @@ export default class Quote extends React.PureComponent {
this.setState({
favourited: localStorage.getItem('favouriteQuote') ?
this.favourite()} /> : null,
copy: (localStorage.getItem('copyButton') === 'false') ? null : this.state.copy,
- tweet: (localStorage.getItem('tweetButton') === 'false') ? null: this.state.tweet
+ tweet: (localStorage.getItem('tweetButton') === 'false') ? null : this.state.tweet
});
this.getQuote();
diff --git a/src/components/widgets/search/Search.jsx b/src/components/widgets/search/Search.jsx
index 0d7eaad8..05e460df 100644
--- a/src/components/widgets/search/Search.jsx
+++ b/src/components/widgets/search/Search.jsx
@@ -70,13 +70,13 @@ export default class Search extends React.PureComponent {
render() {
return (
-
-
-
+ >
);
}
}