diff --git a/src/components/modals/ErrorBoundary.jsx b/src/components/modals/ErrorBoundary.jsx
index a7f4679b..b1714a17 100644
--- a/src/components/modals/ErrorBoundary.jsx
+++ b/src/components/modals/ErrorBoundary.jsx
@@ -9,7 +9,7 @@ export default class ErrorBoundary extends PureComponent {
this.state = {
error: false,
errorData: '',
- showReport: true
+ showReport: true,
};
}
@@ -18,44 +18,48 @@ export default class ErrorBoundary extends PureComponent {
variables.stats.postEvent('modal', 'Error occurred');
return {
error: true,
- errorData: error
+ errorData: error,
};
}
reportError() {
captureException(this.state.errorData);
this.setState({
- showReport: false
- })
+ showReport: false,
+ });
}
render() {
if (this.state.error) {
return (
-
+
-
+
{variables.language.getMessage(
variables.languagecode,
'modals.main.error_boundary.title',
)}
-
-
+
+
{variables.language.getMessage(
variables.languagecode,
'modals.main.error_boundary.message',
)}
-
- {this.state.showReport ?
:
}
-
);
diff --git a/src/components/modals/main/marketplace/sections/Added.jsx b/src/components/modals/main/marketplace/sections/Added.jsx
index 480b3d0e..7f8d7523 100644
--- a/src/components/modals/main/marketplace/sections/Added.jsx
+++ b/src/components/modals/main/marketplace/sections/Added.jsx
@@ -1,6 +1,6 @@
import variables from 'modules/variables';
import { PureComponent } from 'react';
-import { MdLocalMall, MdUpdate } from 'react-icons/md';
+import { MdLocalMall, MdUpdate, MdOutlineExtensionOff } from 'react-icons/md';
import { toast } from 'react-toastify';
import Item from '../Item';
@@ -127,8 +127,13 @@ export default class Added extends PureComponent {
if (this.state.installed.length === 0) {
return (
-
-
+
+ {/*
+ {this.getMessage('modals.main.addons.empty.title')}
+
+ {this.getMessage('modals.main.addons.empty.description')}
+ */}
+
{this.getMessage('modals.main.addons.empty.title')}
{this.getMessage('modals.main.addons.empty.description')}
@@ -163,7 +168,8 @@ export default class Added extends PureComponent {
this.updateCheck()}>
- {this.getMessage('modals.main.addons.check_updates')}
+
+ {this.getMessage('modals.main.addons.check_updates')}
(
-
+
{value}
-
-
+
));
-const SortableContainer = sortableContainer(({ children }) => (
-
-));
+const SortableContainer = sortableContainer(({ children }) => {children}
);
class Todo extends PureComponent {
constructor() {
@@ -167,33 +170,32 @@ class Todo extends PureComponent {
disableAutoscroll
>
{this.state.todo.map((_value, index) => (
-
-
- this.updateTodo('done', index)}
- />
- this.updateTodo('set', index, data)}
- readOnly={this.state.todo[index].done}
- />
- this.updateTodo('remove', index)} />
- >
- }
- />
-
+
+ this.updateTodo('done', index)}
+ />
+ this.updateTodo('set', index, data)}
+ readOnly={this.state.todo[index].done}
+ />
+ this.updateTodo('remove', index)} />
+
+
+ }
+ />
))}
diff --git a/src/components/widgets/navbar/scss/_todo.scss b/src/components/widgets/navbar/scss/_todo.scss
index 37094054..d5811c5d 100644
--- a/src/components/widgets/navbar/scss/_todo.scss
+++ b/src/components/widgets/navbar/scss/_todo.scss
@@ -22,7 +22,7 @@
flex-flow: row;
align-items: center;
padding-right: 10px;
- margin: 1px;
+ margin: 10px 0 10px 0;
@include themed() {
color: t($color) !important;