File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2021,7 +2021,6 @@ var Component = class {
20212021 thisPromiseResolve ( backendResponse ) ;
20222022 return response ;
20232023 }
2024- this . processRerender ( html , backendResponse ) ;
20252024 const liveUrl = backendResponse . getLiveUrl ( ) ;
20262025 if ( liveUrl ) {
20272026 history . replaceState (
@@ -2030,6 +2029,7 @@ var Component = class {
20302029 new URL ( liveUrl + window . location . hash , window . location . origin )
20312030 ) ;
20322031 }
2032+ this . processRerender ( html , backendResponse ) ;
20332033 this . hooks . triggerHook ( "render:finished" , this ) ;
20342034 this . backendRequest = null ;
20352035 thisPromiseResolve ( backendResponse ) ;
Original file line number Diff line number Diff line change @@ -327,8 +327,6 @@ export default class Component {
327327 return response ;
328328 }
329329
330- this . processRerender ( html , backendResponse ) ;
331-
332330 const liveUrl = backendResponse . getLiveUrl ( ) ;
333331 if ( liveUrl ) {
334332 history . replaceState (
@@ -338,6 +336,8 @@ export default class Component {
338336 ) ;
339337 }
340338
339+ this . processRerender ( html , backendResponse ) ;
340+
341341 this . hooks . triggerHook ( 'render:finished' , this ) ;
342342
343343 // finally resolve this promise
You can’t perform that action at this time.
0 commit comments