Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated packages, fixed errors with update, fixed mounting problem #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

braveltd
Copy link

@braveltd braveltd commented Dec 9, 2024

Updated all packages to their newest version (for next.js the newest for 14)

Fixed linting error: occured when used like
isThisTrue && doSomethink(), changed to
if (isThisTrue) { doSomethink() }

Fixed problem mounting and binding css vars in init.ts

Added signature for initDataRaw in useTelegramMock.ts.
error without signature

### На русском

Обновил все пакеты до их новейшей версии, для нексджс до новейшей 14 версии.

Пофиксил когда линтер ругался на && заменив на if

Пофиксил маунты и бинды css в init.ts

Добавил signature для initDataRaw в useTelegramMock.ts
(фото ошибки сверху)

Всё на этом наверн))

@braveltd
Copy link
Author

braveltd commented Dec 9, 2024

!!!! MIGHT WANNA ADD import '@telegram-apps/telegram-ui/dist/styles.css'; in Root.tsx

@braveltd
Copy link
Author

Agreed about prettier! i use prettierd with double quotes and some other stuff, it's really default one)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants