Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary console log output #35

Merged
merged 1 commit into from Jun 20, 2017
Merged

Conversation

dpuscher
Copy link
Contributor

@dpuscher dpuscher commented Jun 20, 2017

I am using your React wrapper for the Notification System at a project I am currently working on and try to only show one notification at most. To make this work I use the hideNotification action to hide an currently displayed notification.
This makes your wrapper remove the notification from the store which is correct behavior. But I recognized, that every removed notification leads to a console.log output, which gets kinda annoying and really shouldn't be happening in production.
So I removed this output completely in the code, if it might be important in development environment, maybe just disable it in production mode?

@gor181
Copy link
Owner

gor181 commented Jun 20, 2017

Ouch embarrassing! Thanks for spotting it. It shouldn't be there for sure 😃

@gor181 gor181 merged commit 9968158 into gor181:master Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants