Skip to content

Commit d296810

Browse files
committed
chore: fix demo
1 parent e807c80 commit d296810

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/lib/Constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export { CryptoCurrency } from '@nimiq/utils';
66
export const CASHLINK_ADDRESS = 'cashlink';
77
export const BANK_ADDRESS = 'bank';
88

9-
export const ENV_MAIN = 'main';
9+
export const ENV_MAIN = 'MainAlbatross';
1010
export const ENV_TEST = 'test';
1111
export const ENV_DEV = 'dev';
1212

src/lib/demo/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,27 +163,27 @@ function addDemoModalRoutes(): void {
163163
demoRouter.addRoute(RouteName.Root, {
164164
name: DemoModal.Fallback,
165165
path: `/${DemoModal.Fallback}`,
166-
components: {
166+
components: {
167167
modal: DemoFallbackModal,
168168
accountOverview: AccountOverview,
169169
addressOverview: AddressOverview,
170170
},
171171
props: { modal: true },
172172
meta: { column: Columns.DYNAMIC },
173173
});
174-
174+
175175
demoRouter.addRoute(RouteName.Root, {
176176
name: DemoModal.Buy,
177177
path: `/${DemoModal.Buy}`,
178-
components: {
178+
components: {
179179
modal: DemoPurchaseModal,
180180
accountOverview: AccountOverview,
181181
addressOverview: AddressOverview,
182182
},
183183
props: { modal: true },
184184
meta: { column: Columns.DYNAMIC },
185185
});
186-
186+
187187
// Mark routes as added on the router instance
188188
(demoRouter as any)._demoRoutesAdded = true;
189189
console.debug('[Demo] Demo routes added successfully');
@@ -211,7 +211,7 @@ function attachIframeListeners(): void {
211211

212212
// Only send message if modal state actually changed
213213
if (newModal === currentModal) return;
214-
214+
215215
currentModal = newModal;
216216
sendModalStateMessage(newModal);
217217
});
@@ -232,7 +232,7 @@ function getModalTypeFromPath(path: string): DemoFlowType {
232232
*/
233233
function sendModalStateMessage(modalType: DemoFlowType): void {
234234
let messageType: string;
235-
235+
236236
switch (modalType) {
237237
case 'buy':
238238
messageType = 'action:open-buy-modal';

0 commit comments

Comments
 (0)