Skip to content

Commit 9b79002

Browse files
authoredJan 18, 2019
Small tweaks to SSR to match #14594 (#14618)
* Small tweaks to SSR to match #14594 * Remove unnecessary comparison
·
v16.13.116.4.1
1 parent 975e8be commit 9b79002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ReactShallowRenderer.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class ReactShallowRenderer {
303303
this._validateCurrentlyRenderingComponent();
304304
this._createWorkInProgressHook();
305305

306-
const nextDeps = deps !== undefined && deps !== null ? deps : null;
306+
const nextDeps = deps !== undefined ? deps : null;
307307

308308
if (
309309
this._workInProgressHook !== null &&

0 commit comments

Comments
 (0)
Please sign in to comment.