Skip to content

Commit 823307f

Browse files
author
Eugene Rodionov
committed
Merge pull request #15 from fcomb/revert-14-master
Revert "Add support for Symbol action types"
2 parents a5ca5a4 + 15d3955 commit 823307f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

build/createLogger.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ function createLogger() {
4141
var returnValue = next(action);
4242
var nextState = getState();
4343
var time = new Date();
44-
var actionType = String(action.type);
45-
var message = 'action ' + actionType + ' @ ' + time.getHours() + ':' + time.getMinutes() + ':' + time.getSeconds();
44+
var message = 'action ' + action.type + ' @ ' + time.getHours() + ':' + time.getMinutes() + ':' + time.getSeconds();
4645

4746
if (collapsed) {
4847
try {

src/createLogger.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ function createLogger(options = {}) {
2727
const returnValue = next(action);
2828
const nextState = getState();
2929
const time = new Date();
30-
const actionType = String(action.type);
31-
const message = `action ${actionType} @ ${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`;
30+
const message = `action ${action.type} @ ${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}`;
3231

3332
if (collapsed) {
3433
try {

0 commit comments

Comments
 (0)