mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Float] Fix typo in ReactDOMResourceValidation.js (#25798)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
This commit is contained in:
co-authored by
Sebastian Silbermann
parent
5dfc485f69
commit
8196872798
@@ -548,7 +548,7 @@ export function validateURLKeyedUpdatedProps(
|
||||
}
|
||||
}
|
||||
console.error(
|
||||
'A %s with %s "%s" recieved new props with different values from the props used' +
|
||||
'A %s with %s "%s" received new props with different values from the props used' +
|
||||
' when this Resource was first rendered. React will only use the props provided when' +
|
||||
' this resource was first rendered until a new %s is provided. Unlike conventional' +
|
||||
' DOM elements, Resources instances do not have a one to one correspondence with Elements' +
|
||||
|
||||
+2
-2
@@ -4711,7 +4711,7 @@ describe('ReactDOMFloat', () => {
|
||||
expect(() => {
|
||||
expect(Scheduler).toFlushWithoutYielding();
|
||||
}).toErrorDev([
|
||||
'Warning: A style Resource with href "foo" recieved new props with different values from the props used' +
|
||||
'Warning: A style Resource with href "foo" received new props with different values from the props used' +
|
||||
' when this Resource was first rendered. React will only use the props provided when' +
|
||||
' this resource was first rendered until a new href is provided. Unlike conventional' +
|
||||
' DOM elements, Resources instances do not have a one to one correspondence with Elements' +
|
||||
@@ -4720,7 +4720,7 @@ describe('ReactDOMFloat', () => {
|
||||
'\n data-something-extra: missing or null in latest props, "extra" in original props' +
|
||||
'\n data-something-new: "new" in latest props, missing or null in original props' +
|
||||
'\n precedence: "fu" in latest props, "foo" in original props',
|
||||
'Warning: A script Resource with src "sfoo" recieved new props with different values from the props used' +
|
||||
'Warning: A script Resource with src "sfoo" received new props with different values from the props used' +
|
||||
' when this Resource was first rendered. React will only use the props provided when' +
|
||||
' this resource was first rendered until a new src is provided. Unlike conventional' +
|
||||
' DOM elements, Resources instances do not have a one to one correspondence with Elements' +
|
||||
|
||||
Reference in New Issue
Block a user