From fe4b5f74294384cb1eb34bcf5947640ffa442fb6 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Wed, 1 Aug 2018 20:18:42 -0400 Subject: [PATCH] Fix rotation styles import --- src/containers/direction-picker.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/containers/direction-picker.jsx b/src/containers/direction-picker.jsx index 76fc9bdb9..a0643d706 100644 --- a/src/containers/direction-picker.jsx +++ b/src/containers/direction-picker.jsx @@ -2,7 +2,7 @@ import bindAll from 'lodash.bindall'; import PropTypes from 'prop-types'; import React from 'react'; -import DirectionComponent, {RotationStyle} from '../components/direction-picker/direction-picker.jsx'; +import DirectionComponent, {RotationStyles} from '../components/direction-picker/direction-picker.jsx'; class DirectionPicker extends React.Component { constructor (props) { @@ -25,13 +25,13 @@ class DirectionPicker extends React.Component { this.setState({popoverOpen: false}); } handleClickAllAround () { - this.props.onChangeRotationStyle(RotationStyle.ALL_AROUND); + this.props.onChangeRotationStyle(RotationStyles.ALL_AROUND); } handleClickLeftRight () { - this.props.onChangeRotationStyle(RotationStyle.LEFT_RIGHT); + this.props.onChangeRotationStyle(RotationStyles.LEFT_RIGHT); } handleClickDontRotate () { - this.props.onChangeRotationStyle(RotationStyle.DONT_ROTATE); + this.props.onChangeRotationStyle(RotationStyles.DONT_ROTATE); } render () { return ( -- GitLab