Skip to content

Commit

Permalink
Update packages/react-dom-bindings/src/client/ReactDOMComponent.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Kassens <[email protected]>
  • Loading branch information
gnoff and kassens authored Jul 16, 2024
1 parent 01ef646 commit f34f75a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ export function setInitialProperties(
case 'img': {
listenToNonDelegatedEvent('error', domElement);
listenToNonDelegatedEvent('load', domElement);
// Mostlye a port of Void Element logic with special casing to ensure srcset and src are set last
// Mostly a port of Void Element logic with special casing to ensure srcset and src are set last
let hasSrc = false;
let hasSrcSet = false;
for (const propKey in props) {
Expand Down

0 comments on commit f34f75a

Please sign in to comment.