run prettier formatting

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-08-09 11:42:22 +02:00
parent 467b758a7a
commit 923491eece
311 changed files with 1449 additions and 1667 deletions
@@ -49,9 +49,10 @@ export function useBuildWithSteps({
}
}, [buildNumber, jobFullName, entity, api, errorApi]);
const { loading, value, retry } = useAsyncRetry(() => getBuildWithSteps(), [
getBuildWithSteps,
]);
const { loading, value, retry } = useAsyncRetry(
() => getBuildWithSteps(),
[getBuildWithSteps],
);
const { startPolling, stopPolling } = useAsyncPolling(
getBuildWithSteps,
+5 -1
View File
@@ -53,7 +53,11 @@ export function useBuilds({ branch }: { branch?: string } = {}) {
}
};
const { loading, value: projects, retry } = useAsyncRetry(async () => {
const {
loading,
value: projects,
retry,
} = useAsyncRetry(async () => {
try {
const build = await api.getProjects({
entity: getEntityName(entity),