Skip to content

Commit

Permalink
Resolving Lint Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TejasRGitHub authored and trajopadhye committed Feb 1, 2024
1 parent 2ba5a60 commit 9f792ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/modules/Shares/views/ShareView.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,9 @@ const ShareView = () => {
sx={{ wordBreak: 'break-word' }}
style={{ whiteSpace: 'pre-line' }}
>
{share.dataset.description.trim().length != 0 ? share.dataset.description : 'No dataset description'}
{share.dataset.description.trim().length !== 0
? share.dataset.description
: 'No dataset description'}
</Typography>
</Box>
</CardContent>
Expand Down

0 comments on commit 9f792ff

Please sign in to comment.