Skip to content

Commit

Permalink
fix: ensure disabled is always passed a boolean
Browse files Browse the repository at this point in the history
processing can be a uid or a boolean
  • Loading branch information
paulschreiber committed Sep 10, 2024
1 parent 8320741 commit 571807c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storyMap/components/StoryMapForm/DataLayerDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const DataLayerListItem = props => {
edge="start"
disableRipple
inputProps={{ 'aria-label': dataLayer.title }}
disabled={processing}
disabled={Boolean(processing)}
/>
</ListItemIcon>
<Typography
Expand Down

0 comments on commit 571807c

Please sign in to comment.