Skip to content
Prev Previous commit
Next Next commit
prettier
  • Loading branch information
trueadm committed Oct 12, 2018
commit 40fcddb6cb9b63ca9e5cd4839c269849d11bd83b
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberBeginWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ function updateContextConsumer(
warning(
false,
'Rendering <Context> directly is not supported and will be removed in ' +
'a future major release. Did you mean to render <Context.Consumer> instead?',
'a future major release. Did you mean to render <Context.Consumer> instead?',
);
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ Context fuzz tester error! Copy and paste the following line into the test suite
ReactNoop.flush();
}).toWarnDev(
'Rendering <Context> directly is not supported and will be removed in ' +
'a future major release. Did you mean to render <Context.Consumer> instead?',
'a future major release. Did you mean to render <Context.Consumer> instead?',
);
});
});