Skip to content

Commit

Permalink
Fix tsc error "TS2769: No overload matches this call." (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierceboggan authored Jul 24, 2024
1 parent 80158cf commit 3512429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Main/ApisList/ApisTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const ApisTable: FC<{ apis: Api[] | null }> = ({ apis }) => {
{api.description}
</TableCellLayout>
</TableCell>
<TableCell>{new Date(api.lastUpdated).toLocaleDateString()}</TableCell>
<TableCell>{new Date(api.lastUpdated || Date.now()).toLocaleDateString()}</TableCell> {/* <TableCell>TODO</TableCell> */}
{/* <TableCell>TODO</TableCell> */}
</TableRow>
))}
Expand Down

0 comments on commit 3512429

Please sign in to comment.