Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristiyan Todorov authored and Kristiyan Todorov committed Jun 28, 2017
1 parent 5b387c4 commit c8f1ef3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ui/react/components/Dialog/Section/Limit/index.js
Expand Up @@ -112,7 +112,7 @@ const SectionLimit = React.createClass({
},
render() {
return (
<div>
<div>
<table className={style.dataGridTable}>
<thead>
<tr>
Expand Down
16 changes: 8 additions & 8 deletions ui/react/components/Dialog/validations.js
Expand Up @@ -24,7 +24,7 @@ let schema = joi.object().keys({
}
}
}),
maxAmountDaily: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxAmountDaily: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -35,7 +35,7 @@ let schema = joi.object().keys({
}
}
}),
maxAmountMonthly: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxAmountMonthly: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -46,7 +46,7 @@ let schema = joi.object().keys({
}
}
}),
maxAmountWeekly: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxAmountWeekly: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -57,7 +57,7 @@ let schema = joi.object().keys({
}
}
}),
maxCountDaily: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxCountDaily: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -68,7 +68,7 @@ let schema = joi.object().keys({
}
}
}),
maxCountMonthly: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxCountMonthly: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -79,7 +79,7 @@ let schema = joi.object().keys({
}
}
}),
maxCountWeekly: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxCountWeekly: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -90,7 +90,7 @@ let schema = joi.object().keys({
}
}
}),
minAmount: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
minAmount: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand All @@ -101,7 +101,7 @@ let schema = joi.object().keys({
}
}
}),
maxAmount: joi.string().allow(null).allow("").regex(/(^\s+$|^$|^\d+$)/).options({
maxAmount: joi.string().allow(null).allow('').regex(/(^\s+$|^$|^\d+$)/).options({
language: {
key: '"Limit" ',
string: {
Expand Down
3 changes: 0 additions & 3 deletions ui/react/components/Grid/index.js
@@ -1,7 +1,6 @@
import React, { PropTypes } from 'react';
import {fromJS} from 'immutable';
import {SimpleGrid} from 'ut-front-react/components/SimpleGrid';
import ContextMenu from '../ContextMenu';
import style from './style.css';

export default React.createClass({
Expand Down Expand Up @@ -157,8 +156,6 @@ export default React.createClass({
return b.get('priority') - a.get('priority');
}).toJS();

let columns = this.state.columns;

return <SimpleGrid
ref='grid'
globalMenu
Expand Down

0 comments on commit c8f1ef3

Please sign in to comment.