Skip to content

Commit ada09b3

Browse files
committed
minor code changes
1 parent 21328b7 commit ada09b3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const root = ReactDOM.createRoot(document.getElementById('root')!);
1919
try {
2020
const launchParams = retrieveLaunchParams();
2121
const { tgWebAppPlatform: platform } = launchParams;
22-
const debug = (launchParams.tgWebAppStartParam || '').includes('platformer_debug')
22+
const debug = (launchParams.tgWebAppStartParam || '').includes('debug')
2323
|| import.meta.env.DEV;
2424

2525
// Configure all application dependencies.

src/init.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {
88
type ThemeParams,
99
retrieveLaunchParams,
1010
emitEvent,
11-
miniApp, backButton,
11+
miniApp,
12+
backButton,
1213
} from '@tma.js/sdk-react';
1314

1415
/**

0 commit comments

Comments
 (0)