Skip to content

Commit 5921275

Browse files
authored
Update mockEnv.ts
1 parent 3bae759 commit 5921275

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/mockEnv.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ if (import.meta.env.DEV) {
2222
} as const;
2323
const noInsets = { left: 0, top: 0, bottom: 0, right: 0 } as const;
2424

25-
console.log(new Date().getTime() / 1000 | 0);
2625
mockTelegramEnv({
2726
onEvent(e) {
2827
// Here you can write your own handlers for all known Telegram MIni Apps methods.
@@ -76,4 +75,4 @@ if (import.meta.env.DEV) {
7675
'⚠️ As long as the current environment was not considered as the Telegram-based one, it was mocked. Take a note, that you should not do it in production and current behavior is only specific to the development process. Environment mocking is also applied only in development mode. So, after building the application, you will not see this behavior and related warning, leading to crashing the application outside Telegram.',
7776
);
7877
}
79-
}
78+
}

0 commit comments

Comments
 (0)