1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Convert History to TypeScript

This commit is contained in:
Mark McDowall
2024-07-19 20:42:59 -07:00
committed by Mark McDowall
parent ee80564dd4
commit 824ed0a369
41 changed files with 1276 additions and 1515 deletions
@@ -1,7 +1,7 @@
import React, { useCallback, useState } from 'react';
import { useDispatch } from 'react-redux';
import IconButton from 'Components/Link/IconButton';
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
import RelativeDateCell from 'Components/Table/Cells/RelativeDateCell';
import TableRowCell from 'Components/Table/Cells/TableRowCell';
import TableSelectCell from 'Components/Table/Cells/TableSelectCell';
import Column from 'Components/Table/Column';
@@ -119,7 +119,7 @@ function BlocklistRow(props: BlocklistRowProps) {
if (name === 'date') {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore ts(2739)
return <RelativeDateCellConnector key={name} date={date} />;
return <RelativeDateCell key={name} date={date} />;
}
if (name === 'indexer') {