Skip to content

Commit 5c49cb5

Browse files
committed
Fix propTypes
1 parent 95ed96e commit 5c49cb5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/component/src/ReactWebChat.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ const {
3939

4040
ReactWebChat.propTypes = {
4141
className: PropTypes.string,
42-
// Ignoring deficiencies with TypeScript/PropTypes inference.
43-
// @ts-ignore
44-
role: PropTypes.oneOf(ARIA_LANDMARK_ROLES),
42+
role: PropTypes.string,
4543
...composerPropTypesWithoutChildren
4644
};
4745

0 commit comments

Comments
 (0)