Skip to content

Commit 2700b1b

Browse files
chore: remove PropTypes validation as per review feedback
1 parent aae278a commit 2700b1b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

components/Servers.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Text } from '@asyncapi/generator-react-sdk';
22

3-
import PropTypes from 'prop-types';
43
import { Bindings } from './Bindings';
54
import { Extensions } from './Extensions';
65
import { Security } from './Security';
@@ -63,12 +62,7 @@ function ServerInfo({ server }) {
6362
</Text>
6463
);
6564
}
66-
ServerInfo.propTypes = {
67-
server: PropTypes.shape({
68-
host: PropTypes.func.isRequired,
69-
pathname: PropTypes.func,
70-
}).isRequired,
71-
};
65+
7266

7367
const variableHeader = ['Name', 'Description', 'Default value', 'Allowed values'];
7468
const variableRenderer = (variable) => [

0 commit comments

Comments
 (0)