Merge pull request #9699 from nixocio/ui_small_fixes

Small UI updates

Small UI updates

Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
softwarefactory-project-zuul[bot] 2021-03-25 17:04:50 +00:00 committed by GitHub
commit d286a77010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,