Remove copypasta comment
Caught by @gaearon
Sebastian Markbage committed
Oct 24, 2016 at 10:49 UTC
7991a00dcc2b2fb521324b0fddeca55d567d79e5
1 file changed
-3
src/renderers/shared/fiber/ReactFiberClassComponent.js
-3
@@ -92,9 +92,6 @@ module.exports = function(scheduleUpdate : (fiber: Fiber, priorityLevel : Priori
92
93
const state = instance.state || null;
94
95
- // A class component update is the result of either new props or new state.
96
- // Account for the possibly of missing pending props by falling back to the
97
- // memoized props.
95
let props = workInProgress.pendingProps;
96
if (!props) {
97
throw new Error('There must be pending props for an initial mount.');