run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user