reformat components with prettier

This commit is contained in:
Eduard Heimbuch
2020-03-31 17:15:09 +02:00
parent fd94746a98
commit 6c6d6c1272
5 changed files with 9 additions and 7 deletions

View File

@@ -54,7 +54,12 @@ type Props = WithTranslation & {
// dispatch functions
fetchNamespaceStrategiesIfNeeded: () => void;
fetchRepositoryTypesIfNeeded: () => void;
createRepo: (link: string, repository: Repository, initRepository: boolean, callback: (repo: Repository) => void) => void;
createRepo: (
link: string,
repository: Repository,
initRepository: boolean,
callback: (repo: Repository) => void
) => void;
resetForm: () => void;
// context props

View File

@@ -176,7 +176,7 @@ export default function reducer(
pending: false
}
};
} else if (action.itemId && (action.type === FETCH_UPDATES_SUCCESS)) {
} else if (action.itemId && action.type === FETCH_UPDATES_SUCCESS) {
return {
...state,
[action.itemId + action.payload.hunk]: {