fix some lint warning message
This commit is contained in:
parent
2bdb8c6fcc
commit
b8c634eac0
5 changed files with 6 additions and 8 deletions
|
|
@ -25,7 +25,7 @@ import {
|
|||
RepositoriesTable,
|
||||
} from './ReviewStepTables';
|
||||
|
||||
import { ARCHS, RELEASES, UNIT_GIB } from '../../../constants';
|
||||
import { RELEASES, UNIT_GIB } from '../../../constants';
|
||||
import { extractProvisioningList } from '../../../store/helpers';
|
||||
import { useGetSourceListQuery } from '../../../store/provisioningApi';
|
||||
import { useShowActivationKeyQuery } from '../../../store/rhsmApi';
|
||||
|
|
|
|||
|
|
@ -430,7 +430,7 @@ const AwsRow = ({ compose, composeStatus, rowIndex }: AwsRowPropTypes) => {
|
|||
|
||||
type RowPropTypes = {
|
||||
compose: ComposesResponseItem;
|
||||
rowIndex: any;
|
||||
rowIndex: number;
|
||||
status: JSX.Element;
|
||||
target?: JSX.Element;
|
||||
actions?: JSX.Element;
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ const generateRequests = (
|
|||
|
||||
type RegionsSelectPropTypes = {
|
||||
composeId: string;
|
||||
handleClose: any;
|
||||
handleClose: () => void;
|
||||
};
|
||||
|
||||
const RegionsSelect = ({ composeId, handleClose }: RegionsSelectPropTypes) => {
|
||||
|
|
|
|||
|
|
@ -21,10 +21,11 @@ export const fetchComposes = (limit, offset) => async (dispatch) => {
|
|||
const composeRequest = await api.getComposes(limit, offset);
|
||||
if (!composeRequest) return;
|
||||
|
||||
composeRequest.data.map((compose) => {
|
||||
composeRequest.data.forEach((compose) => {
|
||||
dispatch(composeAdded({ compose, insert: false }));
|
||||
dispatch(fetchComposeStatus(compose.id));
|
||||
});
|
||||
|
||||
dispatch(composesUpdatedCount({ count: composeRequest.meta.count }));
|
||||
|
||||
composeRequest.data.forEach((compose) => {
|
||||
|
|
|
|||
|
|
@ -52,10 +52,7 @@ const enhancedApi = imageBuilderApi.enhanceEndpoints({
|
|||
},
|
||||
},
|
||||
composeImage: {
|
||||
onQueryStarted: async (
|
||||
{ composeRequest },
|
||||
{ dispatch, queryFulfilled }
|
||||
) => {
|
||||
onQueryStarted: async (_, { dispatch, queryFulfilled }) => {
|
||||
queryFulfilled
|
||||
.then(() => {
|
||||
// Typescript is unaware of tag types being defined concurrently in enhanceEndpoints()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue