@@ -88,7 +88,6 @@ pureComponentPrototype.isPureReactComponent = !0;
8888var isArrayImpl = Array . isArray ,
8989 dynamicFeatureFlags = require ( "ReactFeatureFlags" ) ,
9090 enableTransitionTracing = dynamicFeatureFlags . enableTransitionTracing ,
91- enableAsyncActions = dynamicFeatureFlags . enableAsyncActions ,
9291 enableRenderableContext = dynamicFeatureFlags . enableRenderableContext ,
9392 hasOwnProperty = Object . prototype . hasOwnProperty ,
9493 ReactCurrentOwner$1 = { current : null } ;
@@ -522,27 +521,20 @@ exports.startTransition = function (scope, options) {
522521 void 0 !== options . name &&
523522 ( ( ReactCurrentBatchConfig . transition . name = options . name ) ,
524523 ( ReactCurrentBatchConfig . transition . startTime = - 1 ) ) ;
525- if ( enableAsyncActions )
526- try {
527- var returnValue = scope ( ) ;
528- "object" === typeof returnValue &&
529- null !== returnValue &&
530- "function" === typeof returnValue . then &&
531- ( callbacks . forEach ( function ( callback ) {
532- return callback ( currentTransition , returnValue ) ;
533- } ) ,
534- returnValue . then ( noop , onError ) ) ;
535- } catch ( error ) {
536- onError ( error ) ;
537- } finally {
538- ReactCurrentBatchConfig . transition = prevTransition ;
539- }
540- else
541- try {
542- scope ( ) ;
543- } finally {
544- ReactCurrentBatchConfig . transition = prevTransition ;
545- }
524+ try {
525+ var returnValue = scope ( ) ;
526+ "object" === typeof returnValue &&
527+ null !== returnValue &&
528+ "function" === typeof returnValue . then &&
529+ ( callbacks . forEach ( function ( callback ) {
530+ return callback ( currentTransition , returnValue ) ;
531+ } ) ,
532+ returnValue . then ( noop , onError ) ) ;
533+ } catch ( error ) {
534+ onError ( error ) ;
535+ } finally {
536+ ReactCurrentBatchConfig . transition = prevTransition ;
537+ }
546538} ;
547539exports . unstable_Activity = REACT_OFFSCREEN_TYPE ;
548540exports . unstable_Cache = REACT_CACHE_TYPE ;
@@ -630,7 +622,7 @@ exports.useSyncExternalStore = function (
630622exports . useTransition = function ( ) {
631623 return ReactCurrentDispatcher . current . useTransition ( ) ;
632624} ;
633- exports . version = "18.3.0-www-classic-0c80b4ef " ;
625+ exports . version = "18.3.0-www-classic-49d2df34 " ;
634626"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
635627 "function" ===
636628 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ . registerInternalModuleStop &&
0 commit comments