Skip to content

Commit

Permalink
fix: set imageAlt to empty string (alt="") by default
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Jan 2, 2025
1 parent 5c3f8aa commit 41988b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const EmptyDetailsViewBasic: React.FunctionComponent = () => (
description="Cluster storage saves your project’s data on a selected cluster. You can optionally connect cluster storage to a workbench."
iconImage={clusterImage}
imageSize="320px"
imageAlt="add cluster storage"
createButton={<Button>Add cluster storage</Button>}
footerExtraChildren={
<EmptyStateActions>
Expand Down
2 changes: 1 addition & 1 deletion packages/module/src/EmptyDetailsView/EmptyDetailsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const EmptyDetailsView: React.FunctionComponent<EmptyDetailsViewProps> =
title,
description,
iconImage,
imageAlt,
imageAlt = '',
allowCreate = true,
createButton,
footerExtraChildren = null,
Expand Down

0 comments on commit 41988b7

Please sign in to comment.