Skip to content

Commit 3abc5fa

Browse files
author
krina.sardhara
committed
fix(overlay issue no able to click): propstypes forbidden remove and overlay issue fix
affects: @nodejs-code-generator/client ISSUES CLOSED: #27
1 parent 9d0a4ff commit 3abc5fa

3 files changed

Lines changed: 6 additions & 25 deletions

File tree

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,23 @@
2323
]
2424
},
2525
"devDependencies": {
26-
"lerna": "^4.0.0",
26+
"@babel/eslint-parser": "^7.15.8",
27+
"@babel/plugin-proposal-class-properties": "^7.14.5",
28+
"@babel/plugin-transform-react-jsx": "^7.14.9",
2729
"commitizen": "^4.2.4",
2830
"conventional-github-releaser": "^3.1.2",
2931
"cz-lerna-changelog": "^2.0.3",
30-
"@babel/plugin-proposal-class-properties": "^7.14.5",
31-
"@babel/plugin-transform-react-jsx": "^7.14.9",
3232
"eslint": "^7.32.0",
3333
"eslint-config-airbnb": "^18.2.1",
3434
"eslint-import-resolver-alias": "^1.1.2",
3535
"eslint-plugin-import": "^2.22.2",
3636
"eslint-plugin-jsx-a11y": "^6.4.1",
3737
"eslint-plugin-react": "^7.26.1",
3838
"eslint-plugin-react-hooks": "^4.2.0",
39+
"lerna": "^4.0.0",
3940
"react-app-rewire-aliases": "^0.2.0",
4041
"react-app-rewired": "^2.1.8",
41-
"@babel/eslint-parser": "^7.15.8",
42+
"react-error-overlay": "^6.0.9",
4243
"supertest": "^6.1.6"
4344
},
4445
"config": {

packages/client/src/components/IconBox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ IconBox.propTypes = {
4848
/**
4949
* Additional Icon
5050
*/
51-
icon: PropTypes.objectOf(PropTypes.any),
51+
icon: PropTypes.node,
5252
/**
5353
* Additional icon true false
5454
*/

packages/client/src/container/CRUD/Permission/PermissionItem.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable no-nested-ternary */
22
import React from 'react';
3-
import PropTypes from 'prop-types';
43
// import ReactTooltip from 'react-tooltip';
54
import { cloneDeep, isEmpty } from 'lodash';
65
import { Icons } from '@dhiwise/icons';
@@ -181,22 +180,3 @@ function PermissionItem(props) {
181180
);
182181
}
183182
export default PermissionItem;
184-
PermissionItem.propTypes = {
185-
/**
186-
* display title
187-
*/
188-
title: PropTypes.string.isRequired,
189-
/**
190-
* permission object
191-
*/
192-
permission: PropTypes.objectOf(PropTypes.any),
193-
/**
194-
* function to change checkbox selection
195-
*/
196-
onChange: PropTypes.func.isRequired,
197-
/**
198-
* set of permission actions
199-
*/
200-
permissionSet: PropTypes.objectOf(PropTypes.any).isRequired,
201-
202-
};

0 commit comments

Comments
 (0)