src: Fix new errors after linter bump
This addresses problems caused by dependency updates.
This commit is contained in:
parent
21d038f47b
commit
44dc900370
6 changed files with 41 additions and 20 deletions
|
|
@ -50,6 +50,7 @@ export const BuildImagesButton = () => {
|
|||
addNotification({
|
||||
variant: 'warning',
|
||||
title: 'No blueprint was build',
|
||||
description: imageBuildError?.data?.error?.message,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
@ -164,8 +165,9 @@ export const BuildImagesButtonEmptyState = ({
|
|||
const [buildBlueprint, { isLoading: imageBuildLoading }] =
|
||||
useComposeBlueprintMutation();
|
||||
const onBuildHandler = async () => {
|
||||
selectedBlueprintId &&
|
||||
(await buildBlueprint({ id: selectedBlueprintId, body: {} }));
|
||||
if (selectedBlueprintId) {
|
||||
await buildBlueprint({ id: selectedBlueprintId, body: {} });
|
||||
}
|
||||
};
|
||||
return (
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue