Skip to content

Commit

Permalink
Used Already destructured values
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjeevLakhwani committed Nov 28, 2024
1 parent 8521f32 commit 3380b3c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/js/components/Provenance/Catalogue/Dataset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ const Dataset = ({
return (
<>
<Title level={5} style={{ marginTop: 0 }}>
{t(dataset.title)}
{t(title)}
</Title>
<Paragraph ellipsis={{ rows: 4, tooltip: { title: t(dataset.description) } }}>
{t(dataset.description)}
</Paragraph>
<Paragraph ellipsis={{ rows: 4, tooltip: { title: t(dataset.description) } }}>{t(description)}</Paragraph>
</>
);
} else {
Expand Down

0 comments on commit 3380b3c

Please sign in to comment.