Skip to content

Commit

Permalink
change ActionCreators toUndoActionCreators
Browse files Browse the repository at this point in the history
  • Loading branch information
ntedgi committed May 8, 2019
1 parent 333ec09 commit 99db13f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/todos-with-undo/src/containers/UndoRedo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { ActionCreators } from 'redux-undo';
import { ActionCreators as UndoActionCreators } from 'redux-undo';
import { connect } from 'react-redux'

let UndoRedo = ({ canUndo, canRedo, onUndo, onRedo }) => (
Expand All @@ -19,8 +19,8 @@ const mapStateToProps = (state) => ({


const mapDispatchToProps = ({
onUndo: ActionCreators.undo,
onRedo: ActionCreators.redo
onUndo: UndoActionCreators.undo,
onRedo: UndoActionCreators.redo
})
UndoRedo = connect(
mapStateToProps,
Expand Down

0 comments on commit 99db13f

Please sign in to comment.