Skip to content

Commit

Permalink
[Tech] Fix html errors
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Jan 6, 2025
1 parent d1a285b commit 6c73249
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ export function TableWithRef({ className = '', columnsLength, rows, rowVirtualiz
</tr>
))}
</SimpleTable.Head>
{before > 0 && <PaddingForVirtualizeTable columLength={columnsLength} height={before} name="before" />}

<tbody>
{before > 0 && <PaddingForVirtualizeTable columLength={columnsLength} height={before} name="before" />}
{virtualRows?.map(virtualRow => {
const row = rows[virtualRow?.index]

Expand All @@ -64,8 +65,8 @@ export function TableWithRef({ className = '', columnsLength, rows, rowVirtualiz
</SimpleTable.BodyTr>
)
})}
{after > 0 && <PaddingForVirtualizeTable columLength={columnsLength} height={after} name="after" />}
</tbody>
{after > 0 && <PaddingForVirtualizeTable columLength={columnsLength} height={after} name="after" />}
</SimpleTable.Table>
</TableContainer>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export function Filters({ orientation = 'row' }: { orientation?: Orientation })
<>
{updatedAt === DateRangeEnum.CUSTOM && (
<DateRangePicker
key="dashboard-specificPeriod-filter"
defaultValue={specificPeriod}
isLabelHidden={orientation === 'column'}
isStringDate
Expand Down

0 comments on commit 6c73249

Please sign in to comment.