Skip to content

Commit

Permalink
Moved from deprecated lifecycle method, react is updated to 16.5 version
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhel committed Sep 10, 2018
1 parent f006c18 commit 44d7fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vkontakte/create-vk-app",
"version": "1.0.81",
"version": "1.1.0",
"description": "VK Apps Boilerplate",
"main": "src/index.js",
"repository": {
Expand All @@ -23,8 +23,8 @@
"core-js": "^2.5.7",
"fs-extra": "^7.0.0",
"prop-types": "^15.6.2",
"react": "^16.4.1",
"react-dom": "^16.4.1"
"react": "^16.5.0",
"react-dom": "^16.5.0"
},
"devDependencies": {
"cross-env": "^5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class App extends React.Component {
};
}

componentWillMount() {
componentDidMount() {
connect.subscribe((e) => {
switch (e.detail.type) {
case 'VKWebAppGetUserInfoResult':
Expand Down

0 comments on commit 44d7fa1

Please sign in to comment.