Fixed generation of component keys to make them render properly

This commit is contained in:
Alejandro Celaya
2020-03-08 10:16:45 +01:00
parent c8d682cc98
commit 4a69907ca3
3 changed files with 11 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
import PropTypes from 'prop-types';
export const serverType = PropTypes.shape({
id: PropTypes.string.isRequired,
name: PropTypes.string.isRequired,
url: PropTypes.string.isRequired,
apiKey: PropTypes.string.isRequired,
id: PropTypes.string,
name: PropTypes.string,
url: PropTypes.string,
apiKey: PropTypes.string,
version: PropTypes.string,
printableVersion: PropTypes.string,
serverNotFound: PropTypes.bool,