mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix TypeScript error - add argument
This commit is contained in:
parent
11b77285e3
commit
cd40ab5084
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import React, { FunctionComponent, useEffect, useRef, useState } from 'react';
|
||||||
import AlphaPicker from './alphaPicker';
|
import AlphaPicker from './alphaPicker';
|
||||||
|
|
||||||
type AlphaPickerProps = {
|
type AlphaPickerProps = {
|
||||||
onAlphaPicked?: () => void
|
onAlphaPicked?: (e: Event) => void
|
||||||
};
|
};
|
||||||
|
|
||||||
// React compatibility wrapper component for alphaPicker.js
|
// React compatibility wrapper component for alphaPicker.js
|
||||||
|
|
|
@ -31,7 +31,7 @@ const createInputElement = () => ({
|
||||||
const normalizeInput = (value = '') => value.trim();
|
const normalizeInput = (value = '') => value.trim();
|
||||||
|
|
||||||
type SearchFieldsProps = {
|
type SearchFieldsProps = {
|
||||||
onSearch?: () => void
|
onSearch?: (query: string) => void
|
||||||
};
|
};
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue