Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Oct 24, 2024
1 parent b6c84e3 commit e6b9881
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { SPACING } from '../../../ui-style-constants'

interface ListItemDescriptorProps {
type: 'default' | 'large'
description: JSX.Element | string
content: JSX.Element | string
description: JSX.Element
content: JSX.Element
}

export const ListItemDescriptor = (
Expand Down
19 changes: 12 additions & 7 deletions protocol-designer/src/organisms/MaterialsListModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,18 @@ export function MaterialsListModal({
<ListItemDescriptor
type="large"
description={
fixture.location != null ? (
<DeckInfoLabel
deckLabel={fixture.location.replace('cutout', '')}
/>
) : (
''
)
<Flex minWidth="13.75rem">
{fixture.location != null ? (
<DeckInfoLabel
deckLabel={fixture.location.replace(
'cutout',
''
)}
/>
) : (
''
)}
</Flex>
}
content={
<Flex
Expand Down

0 comments on commit e6b9881

Please sign in to comment.