Skip to content

Commit

Permalink
Don't log the callback function, related to issue facebook#2112
Browse files Browse the repository at this point in the history
  • Loading branch information
jimfb committed Nov 7, 2014
1 parent 543f487 commit ee91494
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/ReactContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ var ReactContext = {
*/
withContext: function(newContext, scopedCallback) {

monitorCodeUse('react_with_context',
{newContext: newContext, scopedCallback: scopedCallback}
);
monitorCodeUse('react_with_context', {newContext: newContext});

var result;
var previousContext = ReactContext.current;
Expand Down

0 comments on commit ee91494

Please sign in to comment.