Skip to content

Commit

Permalink
fix(util): fix toSentenceCase imports
Browse files Browse the repository at this point in the history
  • Loading branch information
evansiroky committed Sep 25, 2017
1 parent eeed9d5 commit 8e2e4d3
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/admin/components/OrganizationSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { ControlLabel, FormControl, FormGroup, Radio, Row, Col } from 'react-boo
import DateTimeField from 'react-bootstrap-datetimepicker'
import Select from 'react-select'
import moment from 'moment'
import toSentenceCase from 'to-sentence-case'

import { getComponentMessages, getMessage } from '../../common/util/config'
import toSentenceCase from '../../common/util/to-sentence-case'

export default class OrganizationSettings extends Component {
static propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion lib/alerts/components/AlertEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {Grid, Row, Col, ButtonToolbar, Button, FormControl, ControlLabel, FormGr
import DateTimeField from 'react-bootstrap-datetimepicker'
import {browserHistory} from 'react-router'
import Toggle from 'react-toggle'
import toSentenceCase from 'to-sentence-case'

import ManagerPage from '../../common/components/ManagerPage'
import Loading from '../../common/components/Loading'
Expand All @@ -13,6 +12,7 @@ import GtfsMapSearch from '../../gtfs/components/gtfsmapsearch'
import GlobalGtfsFilter from '../../gtfs/containers/GlobalGtfsFilter'

import {checkEntitiesForFeeds} from '../../common/util/permissions'
import toSentenceCase from '../../common/util/to-sentence-case'
import {CAUSES, EFFECTS} from '../util'

import moment from 'moment'
Expand Down
2 changes: 1 addition & 1 deletion lib/alerts/components/AlertsList.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React, { PropTypes, Component } from 'react'
import { Row, Col, ButtonGroup, FormControl, FormGroup, Badge, ControlLabel } from 'react-bootstrap'
import toSentenceCase from 'to-sentence-case'

import AlertPreview from './AlertPreview'
import Loading from '../../common/components/Loading'
import OptionButton from '../../common/components/OptionButton'
import { getFeedId } from '../../common/util/modules'
import toSentenceCase from '../../common/util/to-sentence-case'
import { FILTERS, SORT_OPTIONS } from '../util'

export default class AlertsList extends Component {
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/components/EditorInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Select from 'react-select'
import moment from 'moment'
import DateTimeField from 'react-bootstrap-datetimepicker'
import Dropzone from 'react-dropzone'
import toSentenceCase from 'to-sentence-case'

import ColorField from './ColorField'
import {getEntityName} from '../util/gtfs'
Expand All @@ -13,6 +12,7 @@ import {doesNotExist} from '../util/validation'
import VirtualizedEntitySelect from './VirtualizedEntitySelect'
import TimezoneSelect from '../../common/components/TimezoneSelect'
import LanguageSelect from '../../common/components/LanguageSelect'
import toSentenceCase from '../../common/util/to-sentence-case'
import ZoneSelect from './ZoneSelect'

export default class EditorInput extends Component {
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/components/ScheduleExceptionForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import Icon from '@conveyal/woonerf/components/icon'
import React, {Component, PropTypes} from 'react'
import { Button, Form, FormControl, FormGroup, ControlLabel } from 'react-bootstrap'
import Select from 'react-select'
import toSentenceCase from 'to-sentence-case'

import toSentenceCase from '../../common/util/to-sentence-case'
import ExceptionDate from './ExceptionDate'
import { EXEMPLARS } from '../util'

Expand Down
2 changes: 1 addition & 1 deletion lib/editor/components/pattern/EditSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import Icon from '@conveyal/woonerf/components/icon'
import React, {Component, PropTypes} from 'react'
import {Alert, Button, Checkbox, Panel, Form, FormControl, ControlLabel} from 'react-bootstrap'
import Rcslider from 'rc-slider'
import toSentenceCase from 'to-sentence-case'

import {CLICK_OPTIONS} from '../../util'
import {isExtensionEnabled} from '../../../common/util/config'
import toSentenceCase from '../../../common/util/to-sentence-case'

const STOP_INTERVALS = {
100: '100m',
Expand Down
2 changes: 1 addition & 1 deletion lib/manager/components/FeedSourcePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import Icon from '@conveyal/woonerf/components/icon'
import React, {Component, PropTypes} from 'react'
import {ListGroupItem, Panel, Badge, ListGroup, FormControl, ButtonGroup} from 'react-bootstrap'
import {Link} from 'react-router'
import toSentenceCase from 'to-sentence-case'

import OptionButton from '../../common/components/OptionButton'
import {getComponentMessages, getMessage} from '../../common/util/config'
import toSentenceCase from '../../common/util/to-sentence-case'

export default class FeedSourcePanel extends Component {
static propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion lib/manager/components/FeedSourceSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import Icon from '@conveyal/woonerf/components/icon'
import React, {PropTypes, Component} from 'react'
import {Col, Row, ListGroup, ListGroupItem, Button, Panel, FormControl, InputGroup, ControlLabel, FormGroup, Checkbox} from 'react-bootstrap'
import {LinkContainer} from 'react-router-bootstrap'
import toSentenceCase from 'to-sentence-case'

import toSentenceCase from '../../common/util/to-sentence-case'
import ExternalPropertiesTable from './ExternalPropertiesTable'
// import {getComponentMessages} from '../../common/util/config'

Expand Down
2 changes: 1 addition & 1 deletion lib/manager/components/ProjectViewerHeader.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Icon from '@conveyal/woonerf/components/icon'
import React, {PropTypes, Component} from 'react'
import {Row, Col, Button, InputGroup, FormControl, Glyphicon, ButtonToolbar, DropdownButton, MenuItem} from 'react-bootstrap'
import toSentenceCase from 'to-sentence-case'

import {isExtensionEnabled, getComponentMessages, getMessage} from '../../common/util/config'
import toSentenceCase from '../../common/util/to-sentence-case'
import ThirdPartySyncButton from './ThirdPartySyncButton'

export default class ProjectViewerHeader extends Component {
Expand Down
2 changes: 1 addition & 1 deletion lib/signs/components/SignsList.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Icon from '@conveyal/woonerf/components/icon'
import React, {Component, PropTypes} from 'react'
import {Row, ButtonGroup, FormControl, FormGroup, Badge} from 'react-bootstrap'
import toSentenceCase from 'to-sentence-case'

import SignPreview from './SignPreview'
import {FILTERS} from '../util'
import OptionButton from '../../common/components/OptionButton'
import toSentenceCase from '../../common/util/to-sentence-case'

export default class SignsList extends Component {
static propTypes = {
Expand Down

0 comments on commit 8e2e4d3

Please sign in to comment.