We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21328b7 commit ada09b3Copy full SHA for ada09b3
2 files changed
src/index.tsx
@@ -19,7 +19,7 @@ const root = ReactDOM.createRoot(document.getElementById('root')!);
19
try {
20
const launchParams = retrieveLaunchParams();
21
const { tgWebAppPlatform: platform } = launchParams;
22
- const debug = (launchParams.tgWebAppStartParam || '').includes('platformer_debug')
+ const debug = (launchParams.tgWebAppStartParam || '').includes('debug')
23
|| import.meta.env.DEV;
24
25
// Configure all application dependencies.
src/init.ts
@@ -8,7 +8,8 @@ import {
8
type ThemeParams,
9
retrieveLaunchParams,
10
emitEvent,
11
- miniApp, backButton,
+ miniApp,
12
+ backButton,
13
} from '@tma.js/sdk-react';
14
15
/**
0 commit comments