mirror of
https://github.com/mue/mue.git
synced 2026-07-14 04:24:01 +02:00
fix: console error and codacy
This commit is contained in:
@@ -133,7 +133,7 @@ export default class Create extends PureComponent {
|
||||
type: this.state.addonMetadata.type
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const writeDescription = (
|
||||
<>
|
||||
|
||||
@@ -175,7 +175,7 @@ export default class Marketplace extends PureComponent {
|
||||
const openFeatured = () => {
|
||||
window.stats.postEvent('marketplace', 'Featured clicked');
|
||||
window.open(this.state.featured.buttonLink);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className='featured' style={{ backgroundColor: this.state.featured.colour }}>
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
.addToMue {
|
||||
@extend %storebutton;
|
||||
|
||||
float: right;
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
@@ -177,7 +177,9 @@ p.description {
|
||||
}
|
||||
}
|
||||
|
||||
#item>img, .updateimage, .updatechangelog>p>img {
|
||||
#item>img,
|
||||
.updateimage,
|
||||
.updatechangelog>p>img {
|
||||
border-radius: 12px;
|
||||
height: 200px;
|
||||
width: auto;
|
||||
|
||||
@@ -91,7 +91,7 @@ export default class WelcomeSections extends PureComponent {
|
||||
|
||||
// cancel welcome image timer if not on welcome tab
|
||||
componentDidUpdate() {
|
||||
if (this.props.currentTab !== 0) {
|
||||
if (this.props.currentTab !== 0) {
|
||||
if (this.timeout) {
|
||||
clearTimeout(this.timeout);
|
||||
this.timeout = null;
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
background: #8395a7;
|
||||
height: 4px;
|
||||
margin: 10px;
|
||||
transition: .2s ease;
|
||||
transition: 0.2s ease;
|
||||
cursor: pointer;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user