Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ailZhou committed Oct 9, 2024
1 parent 3ed302a commit 8846ee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions services/ui-src/src/components/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export const HorizontalTable = <T extends TableData>({
</CUI.Tr>
</CUI.Thead>
<CUI.Tbody data-cy={"tableBody"}>
{data?.map((row) => (
<CUI.Tr key={row.id + "_tr"}>
{data?.map((row, idx) => (
<CUI.Tr key={row.id + "_tr" + idx}>
{columns.map((column) => {
const element = column.cell(row);
return (
Expand Down
4 changes: 2 additions & 2 deletions services/ui-src/src/views/StateHome/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const ReportingYear = () => {

if (!releasedTwentyTwentyFive) {
reportingyearOptions = reportingyearOptions.filter(
(entry) => entry.value !== "2024"
(entry) => entry.value !== "2025"
);
}

Expand Down Expand Up @@ -101,7 +101,7 @@ const ReportingYear = () => {
</option>
))}
</CUI.Select>
{year === "2024" && showCombinedRatesButton && (
{year! >= "2024" && showCombinedRatesButton && (
<CUI.Box mt="22px">
<Link
to={`/${state}/${year}/combined-rates`}
Expand Down

0 comments on commit 8846ee9

Please sign in to comment.