fix: console error and codacy

This commit is contained in:
David Ralph
2021-08-27 18:27:11 +01:00
parent feb7e1d93c
commit abe70617d8
19 changed files with 25 additions and 23 deletions

View File

@@ -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;

View File

@@ -67,7 +67,7 @@
background: #8395a7;
height: 4px;
margin: 10px;
transition: .2s ease;
transition: 0.2s ease;
cursor: pointer;
border-radius: 15px;
}