diff --git a/src/components/Header/Header.jsx b/src/components/Header/Header.jsx
index 842ca17b9..4799d741b 100644
--- a/src/components/Header/Header.jsx
+++ b/src/components/Header/Header.jsx
@@ -25,7 +25,7 @@ class Header extends React.Component {
}
handleDrawerToggle = () => {
this.setState({ mobileOpen: !this.state.mobileOpen });
- }
+ };
headerColorChange = () => {
const { classes, color, changeColorOnScroll } = this.props;
const windowsScrollTop = window.pageYOffset;
@@ -44,7 +44,7 @@ class Header extends React.Component {
.getElementsByTagName("header")[0]
.classList.remove(classes[changeColorOnScroll.color]);
}
- }
+ };
componentDidMount() {
if (this.props.changeColorOnScroll) {
window.addEventListener("scroll", this.headerColorChange);
diff --git a/src/views/Components/Sections/SectionBasics.jsx b/src/views/Components/Sections/SectionBasics.jsx
index 6a656391c..a2b2b16d7 100644
--- a/src/views/Components/Sections/SectionBasics.jsx
+++ b/src/views/Components/Sections/SectionBasics.jsx
@@ -237,11 +237,13 @@ class SectionBasics extends React.Component {
onClick={() => this.handleToggle(21)}
checkedIcon={}
icon={}
- classes={{ checked: classes.checked, root: classes.checkRoot }}
+ classes={{
+ checked: classes.checked,
+ root: classes.checkRoot
+ }}
/>
}
- classes={{ label: classes.label,
- root: classes.labelRoot }}
+ classes={{ label: classes.label, root: classes.labelRoot }}
label="Unchecked"
/>
@@ -262,11 +264,13 @@ class SectionBasics extends React.Component {
}
checkedIcon={}
icon={}
- classes={{ checked: classes.checked, root: classes.checkRoot }}
+ classes={{
+ checked: classes.checked,
+ root: classes.checkRoot
+ }}
/>
}
- classes={{ label: classes.label,
- root: classes.labelRoot }}
+ classes={{ label: classes.label, root: classes.labelRoot }}
label="Checked"
/>
@@ -284,7 +288,10 @@ class SectionBasics extends React.Component {
tabIndex={-1}
checkedIcon={}
icon={}
- classes={{ checked: classes.checked, root: classes.checkRoot }}
+ classes={{
+ checked: classes.checked,
+ root: classes.checkRoot
+ }}
/>
}
classes={{
@@ -312,7 +319,10 @@ class SectionBasics extends React.Component {
}
checkedIcon={}
icon={}
- classes={{ checked: classes.checked, root: classes.checkRoot }}
+ classes={{
+ checked: classes.checked,
+ root: classes.checkRoot
+ }}
/>
}
classes={{
@@ -467,8 +477,7 @@ class SectionBasics extends React.Component {
}}
/>
}
- classes={{ label: classes.label,
- root: classes.labelRoot }}
+ classes={{ label: classes.label, root: classes.labelRoot }}
label="Disabled Checked Radio"
/>