Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions packages/react-dom/src/shared/utils/assertValidProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ if (__DEV__) {

var HTML = '__html';

function assertValidProps(
tag: string,
props: ?Object,
getStack: () => string,
) {
function assertValidProps(tag: string, props: ?Object, getStack: () => string) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆 "gosh"

if (!props) {
return;
}
Expand Down