multiple: set sane defaults
Set sane defaults for some types rather than setting them to `undefined`. This is so that we can set `exactOptionalPropertyTypes` to true in our tsconfig.
This commit is contained in:
parent
877497f81c
commit
d4436dc6a9
11 changed files with 23 additions and 21 deletions
|
|
@ -179,7 +179,7 @@ export const BuildImagesButtonEmptyState = ({
|
|||
onClick={onBuildHandler}
|
||||
isDisabled={!selectedBlueprintId}
|
||||
isLoading={imageBuildLoading}
|
||||
variant={variant}
|
||||
variant={variant || 'primary'}
|
||||
>
|
||||
{children ? children : 'Build images'}
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue