Telegram-Mini-Apps / nextjs-template

Telegram Mini Apps application template using Nex.jst, TypeScript, TON Connect and tma.js.
162 stars 61 forks source link

Update useTelegramMock.ts #18

Closed Jobians closed 3 weeks ago

Jobians commented 1 month ago

Removed useClientOnce because it never call mockTelegramEnv in development

heyqbnk commented 3 weeks ago

In this case, mock will be applied everywhere. I have also have it applied in development

Jobians commented 3 weeks ago

But it doesn't apply for me in development

heyqbnk commented 3 weeks ago

It is still not a solution, you are applying it even for production