mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Improve typings in FormInputGroup
This commit is contained in:
@@ -38,7 +38,7 @@ function createIndexersSelector(includeAny: boolean) {
|
||||
);
|
||||
}
|
||||
|
||||
interface IndexerSelectInputConnectorProps {
|
||||
export interface IndexerSelectInputProps {
|
||||
name: string;
|
||||
value: number;
|
||||
includeAny?: boolean;
|
||||
@@ -50,7 +50,7 @@ function IndexerSelectInput({
|
||||
value,
|
||||
includeAny = false,
|
||||
onChange,
|
||||
}: IndexerSelectInputConnectorProps) {
|
||||
}: IndexerSelectInputProps) {
|
||||
const dispatch = useDispatch();
|
||||
const { isFetching, isPopulated, values } = useSelector(
|
||||
createIndexersSelector(includeAny)
|
||||
|
||||
Reference in New Issue
Block a user