File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2059,8 +2059,8 @@ class Component {
2059
2059
if ( ! ( ( _a = headers . get ( 'Content-Type' ) ) === null || _a === void 0 ? void 0 : _a . includes ( 'application/vnd.live-component+html' ) ) && ! headers . get ( 'X-Live-Redirect' ) ) {
2060
2060
const controls = { displayError : true } ;
2061
2061
this . valueStore . pushPendingPropsBackToDirty ( ) ;
2062
- this . hooks . triggerHook ( 'response:error' , backendResponse , controls ) ;
2063
2062
this . hooks . triggerHook ( 'loading.state:finished' , this . element ) ;
2063
+ this . hooks . triggerHook ( 'response:error' , backendResponse , controls ) ;
2064
2064
if ( controls . displayError ) {
2065
2065
this . renderError ( html ) ;
2066
2066
}
Original file line number Diff line number Diff line change @@ -299,8 +299,8 @@ export default class Component {
299
299
if ( ! headers . get ( 'Content-Type' ) ?. includes ( 'application/vnd.live-component+html' ) && ! headers . get ( 'X-Live-Redirect' ) ) {
300
300
const controls = { displayError : true } ;
301
301
this . valueStore . pushPendingPropsBackToDirty ( ) ;
302
- this . hooks . triggerHook ( 'response:error' , backendResponse , controls ) ;
303
302
this . hooks . triggerHook ( 'loading.state:finished' , this . element ) ;
303
+ this . hooks . triggerHook ( 'response:error' , backendResponse , controls ) ;
304
304
305
305
if ( controls . displayError ) {
306
306
this . renderError ( html ) ;
You can’t perform that action at this time.
0 commit comments