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 { useHistory, useParams } from 'react-router-dom';
import { object } from 'prop-types';
import PropTypes from 'prop-types';
import { CardBody } from '../../../components/Card';
import {
CredentialsAPI,
@ -197,8 +197,8 @@ function CredentialEdit({ credential }) {
);
}
CredentialEdit.proptype = {
inventory: object.isRequired,
CredentialEdit.propTypes = {
credential: PropTypes.objectOf(PropTypes.object).isRequired,
};
export { CredentialEdit as _CredentialEdit };

View File

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