Skip to content

Commit

Permalink
use new prop
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKai committed Jan 11, 2024
1 parent 2ed5dfb commit 088441c
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ const MetaDataContent: FC<MetaDataContentType> = ({ data, selection }) => {
>
{Boolean(selection.length) ? (
<>
<Viewer
selectedElementId={
data?.find((item) => item.definitionId === selection[0])?.definitionId
}
reduceLogo={true}
resizeOnWidthChange={true}
/>
<Viewer definitionId={selection[0] as string} reduceLogo={true} fitOnResize />

<Divider style={{ width: '100%', marginLeft: '-20%' }} />
<h3>Meta Data</h3>
Expand Down

0 comments on commit 088441c

Please sign in to comment.