@@ -272,8 +272,8 @@ __DEV__ &&
272272 - 1 < x . stack . indexOf ( "\n at" )
273273 ? " (<anonymous>)"
274274 : - 1 < x . stack . indexOf ( "@" )
275- ? "@unknown:0:0"
276- : "" ;
275+ ? "@unknown:0:0"
276+ : "" ;
277277 }
278278 return "\n" + prefix + name + suffix ;
279279 }
@@ -660,13 +660,15 @@ __DEV__ &&
660660 null === type
661661 ? ( isStaticChildren = "null" )
662662 : 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 ) ;
670672 error$jscomp$0 (
671673 "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s" ,
672674 isStaticChildren ,
@@ -1681,13 +1683,13 @@ __DEV__ &&
16811683 isArrayImpl ( type )
16821684 ? ( typeString = "array" )
16831685 : 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 ) ;
16911693 error$jscomp$0 (
16921694 "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s" ,
16931695 typeString ,
@@ -1762,18 +1764,18 @@ __DEV__ &&
17621764 "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
17631765 )
17641766 : "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+ ) ;
17771779 null != render &&
17781780 null != render . defaultProps &&
17791781 error$jscomp$0 (
@@ -1991,7 +1993,7 @@ __DEV__ &&
19911993 exports . useTransition = function ( ) {
19921994 return resolveDispatcher ( ) . useTransition ( ) ;
19931995 } ;
1994- exports . version = "19.0.0-www-classic-d025ddd3 -20240722" ;
1996+ exports . version = "19.0.0-www-classic-b7e7f1a3 -20240722" ;
19951997 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19961998 "function" ===
19971999 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ . registerInternalModuleStop &&
0 commit comments