[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-08-31 00:30:08 +00:00
committed by GitHub
parent a2841fdd30
commit 22e40134ea
2 changed files with 442 additions and 442 deletions
@@ -58,7 +58,7 @@ export const ShowDeployments = ({
{
enabled: !!id,
refetchInterval: 1000,
}
},
);
const { mutateAsync: rollback, isLoading: isRollingBack } =
@@ -167,8 +167,8 @@ export const ShowDeployments = ({
Math.floor(
(new Date(deployment.finishedAt).getTime() -
new Date(deployment.startedAt).getTime()) /
1000
)
1000,
),
)}
</Badge>
)}
@@ -222,7 +222,7 @@ export const ShowDeployments = ({
})
.then(() => {
toast.success(
"Rollback initiated successfully"
"Rollback initiated successfully",
);
})
.catch(() => {
@@ -44,7 +44,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
},
{
enabled: !!id,
}
},
);
const utils = api.useUtils();
@@ -169,7 +169,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
})
.then(async () => {
await new Promise((resolve) =>
setTimeout(resolve, 1500)
setTimeout(resolve, 1500),
);
refetchSchedules();
})