Skip to content

Commit 6772deb

Browse files
authored
Merge pull request #707 from Telegram-Mini-Apps/659-bug-theme-parameters-not-working-on-android-15-with-telegram-v1170
fix(sdk): fix invalid string method name for miniApp.mountSync
2 parents e1fd406 + d8093bf commit 6772deb

File tree

1 file changed

+1
-1
lines changed
  • packages/sdk/src/scopes/components/mini-app

1 file changed

+1
-1
lines changed

packages/sdk/src/scopes/components/mini-app/methods.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export const [_isMounted, isMounted] = tIsMounted;
229229
* mountSync();
230230
* }
231231
*/
232-
export const mountSync = wrapSupported('mount', () => {
232+
export const mountSync = wrapSupported('mountSync', () => {
233233
if (!_isMounted()) {
234234
mountThemeParamsSync();
235235
const s = isPageReload() && getStorageValue<StorageValue>(COMPONENT_NAME) || undefined;

0 commit comments

Comments
 (0)