0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 16:28:41 +00:00

Fix linter errors

This commit is contained in:
Alexey Sachkov
2021-12-29 21:30:03 +03:00
parent 8a3f52b704
commit 78d4487c58
23 changed files with 28 additions and 28 deletions
@@ -7,7 +7,7 @@ const cx = require('classnames');
const DISMISS_KEY = 'dismiss_render_warning';
const RenderWarnings = createClass({
displayName : 'RenderWarnings',
displayName : 'RenderWarnings',
getInitialState : function() {
return {
warnings : {}
+1 -1
View File
@@ -40,7 +40,7 @@ if(typeof navigator !== 'undefined'){
}
const CodeEditor = createClass({
displayName : 'CodeEditor',
displayName : 'CodeEditor',
getDefaultProps : function() {
return {
language : '',
+4 -4
View File
@@ -9,7 +9,7 @@ const NaturalCritIcon = require('naturalcrit/svg/naturalcrit.svg.jsx');
const Nav = {
base : createClass({
displayName : 'Nav.base',
render : function(){
render : function(){
return <nav>
<div className='navContent'>
{this.props.children}
@@ -28,7 +28,7 @@ const Nav = {
section : createClass({
displayName : 'Nav.section',
render : function(){
render : function(){
return <div className='navSection'>
{this.props.children}
</div>;
@@ -36,7 +36,7 @@ const Nav = {
}),
item : createClass({
displayName : 'Nav.item',
displayName : 'Nav.item',
getDefaultProps : function() {
return {
icon : null,
@@ -72,7 +72,7 @@ const Nav = {
}),
dropdown : createClass({
displayName : 'Nav.dropdown',
displayName : 'Nav.dropdown',
getInitialState : function() {
return {
showDropdown : false
+2 -2
View File
@@ -5,7 +5,7 @@ const _ = require('lodash');
const cx = require('classnames');
const SplitPane = createClass({
displayName : 'SplitPane',
displayName : 'SplitPane',
getDefaultProps : function() {
return {
storageKey : 'naturalcrit-pane-split',
@@ -78,7 +78,7 @@ const SplitPane = createClass({
});
const Pane = createClass({
displayName : 'Pane',
displayName : 'Pane',
getDefaultProps : function() {
return {
width : null