Skip to content

Commit

Permalink
fix: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Jan 13, 2025
1 parent 16f9d52 commit 70cc6d4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ export const ChangelogComponent = ({
setSortDirection={setSortDirection}
/>
{records && records.length > 0 ? (
<DataTableBody dataTest="changelog-data-table-body">
<DataTableBody dataTest={'changelog-data-table-body'}>
{records.map(record => (
<ChangelogTableRow key={record.reactKey} record={record} />
))}
</DataTableBody>
) : (
<DataTableBody>
<DataTableRow>
<DataTableCell align="center" colSpan="4">
<DataTableCell align={'center'} colSpan="4">
{i18n.t('No changes to display')}
</DataTableCell>
</DataTableRow>
Expand All @@ -83,7 +83,7 @@ export const ChangelogComponent = ({
onPageChange={setPage}
onPageSizeChange={setPageSize}
isLastPage={!pager.nextPage}
dataTest="changelog-pagination"
dataTest={'changelog-pagination'}
/>
</DataTableCell>
</DataTableRow>
Expand Down

0 comments on commit 70cc6d4

Please sign in to comment.