;
}
}
diff --git a/src/components/modals/Marketplace.jsx b/src/components/modals/Marketplace.jsx
index 4c071390..48a1e5c0 100644
--- a/src/components/modals/Marketplace.jsx
+++ b/src/components/modals/Marketplace.jsx
@@ -38,17 +38,17 @@ export default class Marketplace extends React.PureComponent {
this.offlineHTML =
×
{this.props.modalLanguage.title}
-
-
-
-
-
+
{this.props.language.offline.title}
-
{this.props.language.offline.description}
+
{this.props.language.offline.description}
;
@@ -67,7 +67,7 @@ export default class Marketplace extends React.PureComponent {
if (type === 'item') {
let info;
try {
- info = (await fetch(`${Constants.MARKETPLACE_URL}/item/${type2}/${data}`)).json();
+ info = await (await fetch(`${Constants.MARKETPLACE_URL}/item/${type2}/${data}`)).json();
} catch (e) {
return toast(this.props.toastLanguage.error);
}
@@ -87,9 +87,9 @@ export default class Marketplace extends React.PureComponent {
document.getElementById('seemore').style.display = 'none';
document.getElementById('item').style.display = 'block';
- let button =
this.install()}>{this.props.language.product.buttons.addtomue};
+ let button =
this.install()}>{this.props.language.product.buttons.addtomue};
let installed = JSON.parse(localStorage.getItem('installed'));
- if (installed.some(item => item.name === data)) button =
this.uninstall()}>{this.props.language.product.buttons.remove};
+ if (installed.some(item => item.name === data)) button =
this.uninstall()}>{this.props.language.product.buttons.remove};
this.setState({ button: button });
} else {
document.getElementById('marketplace').style.display = 'block';
@@ -120,7 +120,7 @@ export default class Marketplace extends React.PureComponent {
installed.push(this.state.current_data);
localStorage.setItem('installed', JSON.stringify(installed));
toast(this.props.toastLanguage.installed);
- button =
this.uninstall()}>{this.props.language.product.buttons.remove};
+ button =
this.uninstall()}>{this.props.language.product.buttons.remove};
this.setState({ button: button });
}
@@ -154,7 +154,7 @@ export default class Marketplace extends React.PureComponent {
MarketplaceFunctions.uninstall(this.state.current_data.name, this.state.current_data.type);
toast(this.props.toastLanguage.removed);
this.setState({
- button:
this.install()}>{this.props.language.product.buttons.addtomue}
+ button:
this.install()}>{this.props.language.product.buttons.addtomue}
});
}
@@ -176,14 +176,14 @@ export default class Marketplace extends React.PureComponent {
return
×
{this.props.modalLanguage.title}
-
- {this.props.modalLanguage.marketplace}
- {this.props.modalLanguage.addons}
-
+ {this.props.modalLanguage.marketplace}
+ {this.props.modalLanguage.addons}
+ {this.props.modalLanguage.settings}
-
@@ -193,17 +193,17 @@ export default class Marketplace extends React.PureComponent {
return
×
{this.props.modalLanguage.title}
-
- {this.props.modalLanguage.marketplace}
- {this.props.modalLanguage.addons}
-
+ {this.props.modalLanguage.marketplace}
+ {this.props.modalLanguage.addons}
+ {this.props.modalLanguage.settings}
-
+
{this.state.featured.title}
{this.state.featured.name}
-
window.location.href = this.state.featured.buttonLink}>{this.state.featured.buttonText}
+
window.location.href = this.state.featured.buttonLink}>{this.state.featured.buttonText}
×
-
-
Welcome to
-
Mue Tab
-

-
Information
+
+
Welcome to
+
Mue Tab
+

+
Information
Thank you for downloading Mue Tab,
we hope you enjoy your time with our extension.
-
Tutorials
+
Tutorials
General Start
Marketplace
@@ -19,12 +19,12 @@ export default class Welcome extends React.PureComponent {
Submitting Photos
Settings
-
Support
- {/*
![twitter]()
-
![discord]()
*/}
+
Support
+ {/*
![twitter]()
+
![discord]()
*/}
-
Close
+
Close
;
}
diff --git a/src/components/modals/marketplace/Item.jsx b/src/components/modals/marketplace/Item.jsx
index ff350788..5499bbfb 100644
--- a/src/components/modals/marketplace/Item.jsx
+++ b/src/components/modals/marketplace/Item.jsx
@@ -3,7 +3,7 @@ import ArrowBackIcon from '@material-ui/icons/ArrowBack';
export default class Item extends React.PureComponent {
render() {
- if (!this.props.data.icon) return ;
+ if (!this.props.data.icon) return null;
return (
@@ -12,32 +12,32 @@ export default class Item extends React.PureComponent {
{this.props.data.name}
{this.props.button}
-

-
-
+

+
+
{this.props.language.information}
- - {this.props.language.last_updated}
+ - {this.props.language.last_updated}
- {this.props.data.updated}
- - {this.props.language.version}
+ - {this.props.language.version}
- {this.props.data.version}
- - {this.props.language.author}
+ - {this.props.language.author}
- {this.props.data.author}
-
+
- - {this.props.language.notice.title}
+ - {this.props.language.notice.title}
- {this.props.language.notice.description}
{this.props.language.overview}
-
+
);
}
diff --git a/src/components/modals/marketplace/Items.jsx b/src/components/modals/marketplace/Items.jsx
index e8234853..e030c545 100644
--- a/src/components/modals/marketplace/Items.jsx
+++ b/src/components/modals/marketplace/Items.jsx
@@ -9,11 +9,11 @@ export default class Items extends React.PureComponent {
{seeMoreHTML}
{this.props.title}
-
+
{this.props.items.map((item) =>
-
this.props.toggleFunction(item.name)}>
-

-
+
this.props.toggleFunction(item.name)}>
+

+
{item.display_name}
{item.author}
diff --git a/src/components/modals/settings/Checkbox.jsx b/src/components/modals/settings/Checkbox.jsx
index 4b61d250..91b0007b 100644
--- a/src/components/modals/settings/Checkbox.jsx
+++ b/src/components/modals/settings/Checkbox.jsx
@@ -24,7 +24,7 @@ export default class Checkbox extends React.PureComponent {
return (
}
+ control={}
label={this.props.text}
/>
diff --git a/src/components/modals/settings/Slider.jsx b/src/components/modals/settings/Slider.jsx
index b48cca11..d21e3a7d 100644
--- a/src/components/modals/settings/Slider.jsx
+++ b/src/components/modals/settings/Slider.jsx
@@ -6,9 +6,9 @@ export default class Slider extends React.PureComponent {
let setText = this.props.name;
if (this.props.override) setText = this.props.override;
return (
-