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:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user