Skip to content

Commit e813535

Browse files
committed
Fix merge error and checkstyle warnings
1 parent 2545027 commit e813535

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/components/events/partials/ModalTabsAndPages/NewAccessPage.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import ModalContentTable from "../../../shared/modals/ModalContentTable";
2424
* This component renders the access page for new events and series in the wizards.
2525
*/
2626
interface RequiredFormProps {
27-
'dublincore/episode_isPartOf': string,
27+
"dublincore/episode_isPartOf": string,
2828
policies: TransformedAcl[],
2929
aclTemplate: string,
3030
// theme: string,
@@ -76,15 +76,15 @@ const NewAccessPage = <T extends RequiredFormProps>({
7676

7777
// If we have to use series ACL, fetch it
7878
useEffect(() => {
79-
if (initEventAclWithSeriesAcl && formik.values['dublincore/episode_isPartOf']) {
80-
dispatch(fetchSeriesDetailsAcls(formik.values['dublincore/episode_isPartOf']));
79+
if (initEventAclWithSeriesAcl && formik.values["dublincore/episode_isPartOf"]) {
80+
dispatch(fetchSeriesDetailsAcls(formik.values["dublincore/episode_isPartOf"]));
8181
}
8282
// eslint-disable-next-line react-hooks/exhaustive-deps
83-
}, [formik.values['dublincore/episode_isPartOf'], initEventAclWithSeriesAcl, dispatch]);
83+
}, [formik.values["dublincore/episode_isPartOf"], initEventAclWithSeriesAcl, dispatch]);
8484

8585
// If we have to use series ACL, overwrite existing rules
8686
useEffect(() => {
87-
if (initEventAclWithSeriesAcl && formik.values['dublincore/episode_isPartOf'] && seriesAcl) {
87+
if (initEventAclWithSeriesAcl && formik.values["dublincore/episode_isPartOf"] && seriesAcl) {
8888
formik.setFieldValue("acls", seriesAcl);
8989
}
9090
// eslint-disable-next-line react-hooks/exhaustive-deps

src/components/events/partials/modals/SeriesDetails.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ const SeriesDetails = ({
149149
editAccessRole="ROLE_UI_SERIES_DETAILS_METADATA_EDIT"
150150
formikRef={formikRef}
151151
header={tabs[page].tabNameTranslation}
152-
formikRef={formikRef}
153152
/>
154153
)}
155154
{page === 1 && (

src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export const translateOverrideFallback = (asset: UploadOption, t: TFunction, suf
146146
}
147147

148148
return result;
149-
}
149+
};
150150

151151
/**
152152
* Have the browser show a warning dialog for unsaved changes

0 commit comments

Comments
 (0)