Skip to content

Commit

Permalink
Merge 1d61687 into 6af9cb4
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Apr 6, 2017
2 parents 6af9cb4 + 1d61687 commit c79abe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RedialContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ export default class RedialContext extends Component {
afterTransition: [],
parallel: false,

onError(err, { type }) {
onError(err, { beforeTransition }) {
if (process.env.NODE_ENV !== 'production') {
const type = beforeTransition ? 'beforeTransition' : 'afterTransition';
console.error(type, err);
}
},
Expand Down

0 comments on commit c79abe4

Please sign in to comment.