Small UI updates

Small UI updates
This commit is contained in:
nixocio
2021-03-25 10:05:43 -04:00
parent ef691507b3
commit 133b25d6ad
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import React, { useCallback, useEffect, useState } from 'react'; import React, { useCallback, useEffect, useState } from 'react';
import { useHistory, useParams } from 'react-router-dom'; import { useHistory, useParams } from 'react-router-dom';
import { object } from 'prop-types'; import PropTypes from 'prop-types';
import { CardBody } from '../../../components/Card'; import { CardBody } from '../../../components/Card';
import { import {
CredentialsAPI, CredentialsAPI,
@@ -197,8 +197,8 @@ function CredentialEdit({ credential }) {
); );
} }
CredentialEdit.proptype = { CredentialEdit.propTypes = {
inventory: object.isRequired, credential: PropTypes.objectOf(PropTypes.object).isRequired,
}; };
export { CredentialEdit as _CredentialEdit }; export { CredentialEdit as _CredentialEdit };

View File

@@ -35,7 +35,7 @@ function TeamRolesList({ i18n, me, team }) {
const { const {
isLoading, isLoading,
request: fetchRoles, request: fetchRoles,
contentError, error: contentError,
result: { result: {
roleCount, roleCount,
roles, roles,