Skip to content

Commit 8404dcf

Browse files
committed
remove redundant initial of hasOwnProperty part 3
1 parent b3411c0 commit 8404dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dom/src/server/ReactDOMServerFormatConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ import warnValidStyle from '../shared/warnValidStyle';
4444
import escapeTextForBrowser from './escapeTextForBrowser';
4545
import hyphenateStyleName from '../shared/hyphenateStyleName';
4646
import invariant from 'shared/invariant';
47+
import hasOwnProperty from 'shared/hasOwnProperty';
4748
import sanitizeURL from '../shared/sanitizeURL';
4849

49-
const hasOwnProperty = Object.prototype.hasOwnProperty;
5050
const isArray = Array.isArray;
5151

5252
// Per response, global state that is not contextual to the rendering subtree.

0 commit comments

Comments
 (0)