1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Convert Table to TypeScript

This commit is contained in:
Mark McDowall
2025-01-06 16:48:33 -08:00
parent 0fdeb05663
commit 699120a8fd
57 changed files with 959 additions and 1239 deletions
@@ -169,8 +169,8 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
onValidRowChange,
]);
const onSelectedChangeWrapper = useCallback(
(result: SelectedChangeProps) => {
const handleSelectedChange = useCallback(
(result: SelectStateInputProps) => {
onSelectedChange({
...result,
hasEpisodeFileId: !!episodeFileId,
@@ -398,7 +398,7 @@ function InteractiveImportRow(props: InteractiveImportRowProps) {
<TableSelectCell
id={id}
isSelected={isSelected}
onSelectedChange={onSelectedChangeWrapper}
onSelectedChange={handleSelectedChange}
/>
<TableRowCell className={styles.relativePath} title={relativePath}>