@@ -272,8 +272,8 @@ __DEV__ &&
272
272
- 1 < x . stack . indexOf ( "\n at" )
273
273
? " (<anonymous>)"
274
274
: - 1 < x . stack . indexOf ( "@" )
275
- ? "@unknown:0:0"
276
- : "" ;
275
+ ? "@unknown:0:0"
276
+ : "" ;
277
277
}
278
278
return "\n" + prefix + name + suffix ;
279
279
}
@@ -660,13 +660,15 @@ __DEV__ &&
660
660
null === type
661
661
? ( isStaticChildren = "null" )
662
662
: isArrayImpl ( type )
663
- ? ( isStaticChildren = "array" )
664
- : void 0 !== type && type . $$typeof === REACT_ELEMENT_TYPE
665
- ? ( ( isStaticChildren =
666
- "<" + ( getComponentNameFromType ( type . type ) || "Unknown" ) + " />" ) ,
667
- ( children =
668
- " Did you accidentally export a JSX literal instead of a component?" ) )
669
- : ( isStaticChildren = typeof type ) ;
663
+ ? ( isStaticChildren = "array" )
664
+ : void 0 !== type && type . $$typeof === REACT_ELEMENT_TYPE
665
+ ? ( ( isStaticChildren =
666
+ "<" +
667
+ ( getComponentNameFromType ( type . type ) || "Unknown" ) +
668
+ " />" ) ,
669
+ ( children =
670
+ " Did you accidentally export a JSX literal instead of a component?" ) )
671
+ : ( isStaticChildren = typeof type ) ;
670
672
error$jscomp$0 (
671
673
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s" ,
672
674
isStaticChildren ,
@@ -1681,13 +1683,13 @@ __DEV__ &&
1681
1683
isArrayImpl ( type )
1682
1684
? ( typeString = "array" )
1683
1685
: void 0 !== type && type . $$typeof === REACT_ELEMENT_TYPE
1684
- ? ( ( typeString =
1685
- "<" +
1686
- ( getComponentNameFromType ( type . type ) || "Unknown" ) +
1687
- " />" ) ,
1688
- ( i =
1689
- " Did you accidentally export a JSX literal instead of a component?" ) )
1690
- : ( typeString = typeof type ) ;
1686
+ ? ( ( typeString =
1687
+ "<" +
1688
+ ( getComponentNameFromType ( type . type ) || "Unknown" ) +
1689
+ " />" ) ,
1690
+ ( i =
1691
+ " Did you accidentally export a JSX literal instead of a component?" ) )
1692
+ : ( typeString = typeof type ) ;
1691
1693
error$jscomp$0 (
1692
1694
"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s" ,
1693
1695
typeString ,
@@ -1762,18 +1764,18 @@ __DEV__ &&
1762
1764
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1763
1765
)
1764
1766
: "function" !== typeof render
1765
- ? error$jscomp$0 (
1766
- "forwardRef requires a render function but was given %s." ,
1767
- null === render ? "null" : typeof render
1768
- )
1769
- : 0 !== render . length &&
1770
- 2 !== render . length &&
1771
- error$jscomp$0 (
1772
- "forwardRef render functions accept exactly two parameters: props and ref. %s" ,
1773
- 1 === render . length
1774
- ? "Did you forget to use the ref parameter?"
1775
- : "Any additional parameter will be undefined."
1776
- ) ;
1767
+ ? error$jscomp$0 (
1768
+ "forwardRef requires a render function but was given %s." ,
1769
+ null === render ? "null" : typeof render
1770
+ )
1771
+ : 0 !== render . length &&
1772
+ 2 !== render . length &&
1773
+ error$jscomp$0 (
1774
+ "forwardRef render functions accept exactly two parameters: props and ref. %s" ,
1775
+ 1 === render . length
1776
+ ? "Did you forget to use the ref parameter?"
1777
+ : "Any additional parameter will be undefined."
1778
+ ) ;
1777
1779
null != render &&
1778
1780
null != render . defaultProps &&
1779
1781
error$jscomp$0 (
@@ -1991,7 +1993,7 @@ __DEV__ &&
1991
1993
exports . useTransition = function ( ) {
1992
1994
return resolveDispatcher ( ) . useTransition ( ) ;
1993
1995
} ;
1994
- exports . version = "19.0.0-www-classic-d025ddd3 -20240722" ;
1996
+ exports . version = "19.0.0-www-classic-b7e7f1a3 -20240722" ;
1995
1997
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1996
1998
"function" ===
1997
1999
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ . registerInternalModuleStop &&
0 commit comments