From b6f54844db1900aee709896ed7768b43e1b6ae28 Mon Sep 17 00:00:00 2001 From: Graham McGregor Date: Sun, 23 Jul 2017 00:24:10 -0400 Subject: [PATCH] Rename components to match file names --- app/scripts/views/collapsable_container.js | 2 +- app/scripts/views/pie_chart.js | 2 +- app/scripts/views/range_setting_component.js | 2 +- app/scripts/views/rhythm_settings_view.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/scripts/views/collapsable_container.js b/app/scripts/views/collapsable_container.js index ac4d9da..fc1e6ba 100644 --- a/app/scripts/views/collapsable_container.js +++ b/app/scripts/views/collapsable_container.js @@ -3,7 +3,7 @@ import PropTypes from "prop-types"; import classNames from "classnames"; import _ from "lodash"; -export default class BeatVisualization extends Component { +export default class CollapsableContainer extends Component { static propTypes = { children: PropTypes.node, collapsed: PropTypes.bool.isRequired, diff --git a/app/scripts/views/pie_chart.js b/app/scripts/views/pie_chart.js index 8c67f23..5650e82 100644 --- a/app/scripts/views/pie_chart.js +++ b/app/scripts/views/pie_chart.js @@ -2,7 +2,7 @@ import Chartist from "Chartist"; import PropTypes from "prop-types"; import React, { PureComponent } from "react"; -export default class LevelView extends PureComponent { +export default class PieChart extends PureComponent { static propTypes = { pieParts: PropTypes.array.isRequired }; diff --git a/app/scripts/views/range_setting_component.js b/app/scripts/views/range_setting_component.js index 627ce22..a8d6ab2 100644 --- a/app/scripts/views/range_setting_component.js +++ b/app/scripts/views/range_setting_component.js @@ -6,7 +6,7 @@ import _ from "lodash"; const multiplier = 10; -export default class SettingsView extends Component { +export default class RangeSettingComponent extends Component { static defaultProps = { valueToString: _.identity, label: "" diff --git a/app/scripts/views/rhythm_settings_view.js b/app/scripts/views/rhythm_settings_view.js index ed2f163..f6a3e0e 100644 --- a/app/scripts/views/rhythm_settings_view.js +++ b/app/scripts/views/rhythm_settings_view.js @@ -5,7 +5,7 @@ import SettingLine from "./setting_line"; import AnalyticsService from "../services/analytics_service.js"; import _ from "lodash"; -export default class PitchSettingsView extends Component { +export default class RythmSettingsView extends Component { static propTypes = { settings: PropTypes.object };