Skip to content

Commit

Permalink
fix(app release process): fixed console errors (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
lavanya-bmw authored Aug 7, 2023
1 parent c07e39d commit 7187394
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function CommonContractAndConsent({
useDeleteAppReleaseDocumentMutation()

useEffect(() => {
deleteResponse.isSuccess && setDeleteSuccess(true)
if (deleteResponse.isSuccess) setDeleteSuccess(true)
if (deleteResponse.isError) {
resetField('uploadImageConformity', {
defaultValue:
Expand Down Expand Up @@ -414,7 +414,7 @@ export default function CommonContractAndConsent({
{agreementData?.map((item) => (
<div className="form-field" key={item.agreementId}>
<Grid container spacing={1.5}>
<Grid md={1}>
<Grid item md={1}>
<ConnectorFormInputField
{...{
control,
Expand All @@ -434,7 +434,7 @@ export default function CommonContractAndConsent({
}}
/>
</Grid>
<Grid md={11} sx={{ marginTop: '8px' }}>
<Grid item md={11} sx={{ marginTop: '8px' }}>
{item.documentId ? (
<span
className={item.documentId ? 'agreement-span' : ''}
Expand Down
2 changes: 1 addition & 1 deletion src/features/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const reducers = {
export const store = configureStore({
reducer: combineReducers(reducers),
middleware: (getDefaultMiddleware) =>
getDefaultMiddleware()
getDefaultMiddleware({ serializableCheck: false })
.concat(idpSlice.middleware)
.concat(userSlice.middleware)
.concat(serviceSlice.middleware)
Expand Down

0 comments on commit 7187394

Please sign in to comment.