Skip to content

Commit 118665e

Browse files
committed
Removed PropTypes
1 parent 5462b38 commit 118665e

5 files changed

Lines changed: 23 additions & 25 deletions

File tree

locales/admin/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,6 @@
257257
"optionControl": "Option control",
258258
"optionControlSelect": "Drop-down list",
259259
"optionValues": "Option values",
260-
"newOptionValue": "New value"
260+
"newOptionValue": "New value",
261+
"deleteProduct": "Delete product"
261262
}

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
"start": "NODE_ENV=production node dist/index.js"
4646
},
4747
"dependencies": {
48-
"babel-cli": "^6.24.0",
49-
"babel-core": "^6.24.0",
48+
"babel-cli": "^6.24.1",
49+
"babel-core": "^6.24.1",
5050
"babel-loader": "^6.4.1",
51-
"babel-plugin-transform-class-properties": "^6.23.0",
51+
"babel-plugin-transform-class-properties": "^6.24.1",
5252
"babel-polyfill": "^6.23.0",
53-
"babel-preset-latest": "^6.24.0",
54-
"babel-preset-react": "^6.23.0",
53+
"babel-preset-latest": "^6.24.1",
54+
"babel-preset-react": "^6.24.1",
5555
"body-parser": "^1.16.1",
56-
"cezerin-client": "^0.4.41",
56+
"cezerin-client": "^0.13.0",
5757
"cookie-parser": "^1.4.3",
5858
"css-loader": "^0.28.0",
5959
"express": "^4.15.1",
@@ -67,31 +67,31 @@
6767
"json-loader": "^0.5.4",
6868
"jsonwebtoken": "^7.3.0",
6969
"lru-cache": "^4.0.2",
70-
"material-ui": "^0.17.1",
70+
"material-ui": "^0.17.3",
7171
"moment": "^2.18.1",
7272
"mongodb": "^2.2.25",
73-
"nodemailer": "^3.1.8",
74-
"nodemailer-smtp-transport": "^2.7.2",
75-
"react": "^15.4.2",
76-
"react-dom": "^15.4.2",
77-
"react-dropzone": "^3.12.2",
78-
"react-helmet": "^5.0.2",
79-
"react-redux": "^5.0.3",
80-
"react-router": "^3.0.3",
73+
"nodemailer": "^4.0.1",
74+
"nodemailer-smtp-transport": "^2.7.4",
75+
"react": "^15.5.4",
76+
"react-dom": "^15.5.4",
77+
"react-dropzone": "^3.12.4",
78+
"react-helmet": "^5.0.3",
79+
"react-redux": "^5.0.4",
80+
"react-router": "^3.0.5",
8181
"react-router-redux": "^4.0.8",
82-
"react-sortable-hoc": "^0.6.1",
82+
"react-sortable-hoc": "^0.6.2",
8383
"react-tap-event-plugin": "^2.0.1",
8484
"react-tinymce": "^0.5.1",
8585
"redux": "^3.5.2",
86-
"redux-form": "^6.6.1",
87-
"redux-form-material-ui": "^4.1.3",
86+
"redux-form": "^6.6.3",
87+
"redux-form-material-ui": "^4.2.0",
8888
"redux-thunk": "^2.2.0",
8989
"response-time": "^2.3.2",
9090
"script-ext-html-webpack-plugin": "^1.7.1",
9191
"slug": "^0.9.1",
9292
"theme": "file:themes/current",
9393
"ua-parser-js": "^0.7.12",
94-
"webpack": "^2.3.3",
94+
"webpack": "^2.4.0",
9595
"winston": "^2.3.1"
9696
},
9797
"devDependencies": {

src/admin/client/layouts/shared.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,4 @@ const Layout = ({ children }) => (
4444
</MuiThemeProvider>
4545
)
4646

47-
Layout.propTypes = {
48-
children: React.PropTypes.element.isRequired
49-
}
5047
export default Layout

src/admin/client/modules/customer-groups/components/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, {PropTypes} from 'react';
1+
import React from 'react';
22
import messages from 'lib/text'
33

44
import { List, ListItem } from 'material-ui/List';

src/admin/client/modules/products/head-edit/components/buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class Buttons extends React.Component {
4444

4545
return (
4646
<span>
47-
<IconButton touch={true} tooltipPosition="bottom-left" tooltip={messages.actions_delete} onTouchTap={this.showDelete}>
47+
<IconButton touch={true} tooltipPosition="bottom-left" tooltip={messages.deleteProduct} onTouchTap={this.showDelete}>
4848
<FontIcon color="#fff" className="material-icons">delete</FontIcon>
4949
</IconButton>
5050
<Dialog

0 commit comments

Comments
 (0)