@@ -163,27 +163,27 @@ function addDemoModalRoutes(): void {
163
163
demoRouter . addRoute ( RouteName . Root , {
164
164
name : DemoModal . Fallback ,
165
165
path : `/${ DemoModal . Fallback } ` ,
166
- components : {
166
+ components : {
167
167
modal : DemoFallbackModal ,
168
168
accountOverview : AccountOverview ,
169
169
addressOverview : AddressOverview ,
170
170
} ,
171
171
props : { modal : true } ,
172
172
meta : { column : Columns . DYNAMIC } ,
173
173
} ) ;
174
-
174
+
175
175
demoRouter . addRoute ( RouteName . Root , {
176
176
name : DemoModal . Buy ,
177
177
path : `/${ DemoModal . Buy } ` ,
178
- components : {
178
+ components : {
179
179
modal : DemoPurchaseModal ,
180
180
accountOverview : AccountOverview ,
181
181
addressOverview : AddressOverview ,
182
182
} ,
183
183
props : { modal : true } ,
184
184
meta : { column : Columns . DYNAMIC } ,
185
185
} ) ;
186
-
186
+
187
187
// Mark routes as added on the router instance
188
188
( demoRouter as any ) . _demoRoutesAdded = true ;
189
189
console . debug ( '[Demo] Demo routes added successfully' ) ;
@@ -211,7 +211,7 @@ function attachIframeListeners(): void {
211
211
212
212
// Only send message if modal state actually changed
213
213
if ( newModal === currentModal ) return ;
214
-
214
+
215
215
currentModal = newModal ;
216
216
sendModalStateMessage ( newModal ) ;
217
217
} ) ;
@@ -232,7 +232,7 @@ function getModalTypeFromPath(path: string): DemoFlowType {
232
232
*/
233
233
function sendModalStateMessage ( modalType : DemoFlowType ) : void {
234
234
let messageType : string ;
235
-
235
+
236
236
switch ( modalType ) {
237
237
case 'buy' :
238
238
messageType = 'action:open-buy-modal' ;
0 commit comments