diff --git a/src/components/modals/main/marketplace/sections/Marketplace.jsx b/src/components/modals/main/marketplace/sections/Marketplace.jsx
index ab224324..0b877e16 100644
--- a/src/components/modals/main/marketplace/sections/Marketplace.jsx
+++ b/src/components/modals/main/marketplace/sections/Marketplace.jsx
@@ -29,7 +29,7 @@ export default class Marketplace extends React.PureComponent {
version: '1.0.0',
icon: ''
}
- }
+ };
this.buttons = {
uninstall: ,
install:
diff --git a/src/components/modals/main/scss/index.scss b/src/components/modals/main/scss/index.scss
index 9c68e871..d99f57c7 100644
--- a/src/components/modals/main/scss/index.scss
+++ b/src/components/modals/main/scss/index.scss
@@ -117,7 +117,6 @@ ul.sidebar {
padding-left: 0;
height: 100vh;
background: var(--sidebar);
- left: 0;
border-radius: 12px 0 0 12px;
text-align: left;
font-size: 24px;
diff --git a/src/components/modals/main/settings/sections/background/Colour.jsx b/src/components/modals/main/settings/sections/background/Colour.jsx
index 74198da6..a5cd85a2 100644
--- a/src/components/modals/main/settings/sections/background/Colour.jsx
+++ b/src/components/modals/main/settings/sections/background/Colour.jsx
@@ -37,7 +37,7 @@ export default class ColourSettings extends React.PureComponent {
toast(this.language.toasts.reset);
}
- InitializeColorPickerState(gradientSettings) {
+ initialiseColorPickerState(gradientSettings) {
this.GradientPickerInitalState = {
points: gradientSettings.gradient.map((g) => {
const rgb = hexToRgb(g.colour);
@@ -145,7 +145,7 @@ export default class ColourSettings extends React.PureComponent {
let gradientInputs;
if (gradientHasMoreThanOneColour) {
if (this.GradientPickerInitalState === undefined) {
- this.InitializeColorPickerState(this.state.gradientSettings);
+ this.initialiseColorPickerState(this.state.gradientSettings);
}
gradientInputs = (
diff --git a/src/components/modals/main/tabs/backend/Tab.jsx b/src/components/modals/main/tabs/backend/Tab.jsx
index 120cb8fb..05e51a7a 100644
--- a/src/components/modals/main/tabs/backend/Tab.jsx
+++ b/src/components/modals/main/tabs/backend/Tab.jsx
@@ -79,5 +79,5 @@ export default function Tab(props) {
{(divider === true) ?
: null}
>
- )
+ );
}
diff --git a/src/components/widgets/search/Search.jsx b/src/components/widgets/search/Search.jsx
index 45fa383c..ef82d5f5 100644
--- a/src/components/widgets/search/Search.jsx
+++ b/src/components/widgets/search/Search.jsx
@@ -26,9 +26,9 @@ export default class Search extends React.PureComponent {
voiceSearch.onresult = (event) => {
searchText.value = event.results[0][0].transcript;
- }
+ };
- voiceSearch.onend = () =>{
+ voiceSearch.onend = () => {
setTimeout(() => {
window.location.href = this.state.url + `?${this.state.query}=` + searchText.value;
}, 1000);
@@ -46,7 +46,7 @@ export default class Search extends React.PureComponent {
let microphone = null;
const setting = localStorage.getItem('searchEngine');
- const info = searchEngines.find(i => i.settingsName === setting);
+ const info = searchEngines.find((i) => i.settingsName === setting);
if (info !== undefined) {
url = info.url;
diff --git a/src/modules/helpers/background/hexToRgb.js b/src/modules/helpers/background/hexToRgb.js
index 5ca3e8f6..6b49f1e6 100644
--- a/src/modules/helpers/background/hexToRgb.js
+++ b/src/modules/helpers/background/hexToRgb.js
@@ -13,7 +13,7 @@ export default function hexToRgb(value) {
value = value.slice(1, value.length);
}
- if (value.length === 3){
+ if (value.length === 3) {
value = value.replace(regexp, '$1$1$2$2$3$3');
}
diff --git a/src/modules/helpers/background/rgbToHsv.js b/src/modules/helpers/background/rgbToHsv.js
index 2363017b..b85e8a30 100644
--- a/src/modules/helpers/background/rgbToHsv.js
+++ b/src/modules/helpers/background/rgbToHsv.js
@@ -7,7 +7,7 @@ export default function rgbToHSv({ red, green, blue }) {
const v = Math.max(rabs, gabs, babs);
const diff = v - Math.min(rabs, gabs, babs);
- const diffc = c => (v - c) / 6 / diff + 1 / 2;
+ const diffc = (c) => (v - c) / 6 / diff + 1 / 2;
if (diff === 0) {
h = 0;
@@ -18,7 +18,7 @@ export default function rgbToHSv({ red, green, blue }) {
gg = diffc(gabs);
bb = diffc(babs);
- if (rabs === v){
+ if (rabs === v) {
h = bb - gg;
} else if (gabs === v) {
h = (1 / 3) + rr - bb;
diff --git a/src/modules/helpers/settings.js b/src/modules/helpers/settings.js
index 2969d84e..7b7dfebc 100644
--- a/src/modules/helpers/settings.js
+++ b/src/modules/helpers/settings.js
@@ -1,4 +1,4 @@
-import ExperimentalInit from './experimental';
+import experimentalInit from './experimental';
const defaultSettings = require('../default_settings.json');
const languages = require('../languages.json');
@@ -114,7 +114,7 @@ export default class SettingsFunctions {
}
if (localStorage.getItem('experimental') === 'true') {
- ExperimentalInit();
+ experimentalInit();
}
const widgetzoom = localStorage.getItem('widgetzoom');