@@ -24,7 +24,7 @@ if (__DEV__) {
2424 ) {
2525 __REACT_DEVTOOLS_GLOBAL_HOOK__ . registerInternalModuleStart ( new Error ( ) ) ;
2626 }
27- var ReactVersion = "18.3.0-www-classic-7910dce1 " ;
27+ var ReactVersion = "18.3.0-www-classic-bce6b49b " ;
2828
2929 // ATTENTION
3030 // When adding new symbols to this file,
@@ -1509,14 +1509,6 @@ if (__DEV__) {
15091509 "it's defined in, or you might have mixed up default and named imports." ;
15101510 }
15111511
1512- var sourceInfo = getSourceInfoErrorAddendum ( source ) ;
1513-
1514- if ( sourceInfo ) {
1515- info += sourceInfo ;
1516- } else {
1517- info += getDeclarationErrorAddendum ( ) ;
1518- }
1519-
15201512 var typeString ;
15211513
15221514 if ( type === null ) {
@@ -1717,14 +1709,6 @@ if (__DEV__) {
17171709 "it's defined in, or you might have mixed up default and named imports." ;
17181710 }
17191711
1720- var sourceInfo = getSourceInfoErrorAddendumForProps ( config ) ;
1721-
1722- if ( sourceInfo ) {
1723- info += sourceInfo ;
1724- } else {
1725- info += getDeclarationErrorAddendum ( ) ;
1726- }
1727-
17281712 var typeString ;
17291713
17301714 if ( type === null ) {
@@ -2042,26 +2026,6 @@ if (__DEV__) {
20422026 return "" ;
20432027 }
20442028 }
2045-
2046- function getSourceInfoErrorAddendumForProps ( elementProps ) {
2047- if ( elementProps !== null && elementProps !== undefined ) {
2048- return getSourceInfoErrorAddendum ( elementProps . __source ) ;
2049- }
2050-
2051- return "" ;
2052- }
2053-
2054- function getSourceInfoErrorAddendum ( source ) {
2055- {
2056- if ( source !== undefined ) {
2057- var fileName = source . fileName . replace ( / ^ .* [ \\ \/ ] / , "" ) ;
2058- var lineNumber = source . lineNumber ;
2059- return "\n\nCheck your code at " + fileName + ":" + lineNumber + "." ;
2060- }
2061-
2062- return "" ;
2063- }
2064- }
20652029 /**
20662030 * Ensure that every element either is passed in a static location, in an
20672031 * array with an explicit keys property defined, or in an object literal
0 commit comments