-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v7.10: updated react version and fixed BottomBar return type
- Loading branch information
1 parent
34fafb4
commit 828fad5
Showing
4 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@twa-dev/sdk", | ||
"version": "7.10.0-beta.1", | ||
"version": "7.10.0-beta.2", | ||
"main": "dist/index.js", | ||
"sideEffects": [ | ||
"./dist/telegram-web-apps.js" | ||
|
@@ -35,14 +35,14 @@ | |
"author": "Artur Stambultsian <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/react": "^18.0.19", | ||
"@types/react": "^18.3.5", | ||
"@typescript-eslint/eslint-plugin": "^5.33.0", | ||
"@typescript-eslint/parser": "^5.33.0", | ||
"eslint": "^8.21.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-react": "^7.31.8", | ||
"prettier": "^2.7.1", | ||
"react": "^18.2.0", | ||
"react": "^18.3.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
"scripts": { | ||
|
@@ -53,6 +53,6 @@ | |
"@twa-dev/types": "^7.10.0" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16.0.0" | ||
"react": "^18.3.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,5 @@ export const BottomBar = ({ | |
}; | ||
}, []); | ||
|
||
return children; | ||
return <>{children}</>; | ||
}; |