1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove type casting

This commit is contained in:
Dmitry Lyzo 2022-02-18 13:14:26 +03:00
parent 85e9aff281
commit c14daafffb
3 changed files with 3 additions and 6 deletions

View file

@ -99,8 +99,7 @@ const SearchResults: FunctionComponent<SearchResultsProps> = ({ serverId, parent
setPeople([]);
if (query) {
// TODO: Remove type casting once we're using a properly typed API client
const apiClient = (ServerConnections as any).getApiClient(serverId);
const apiClient = ServerConnections.getApiClient(serverId);
// Movie libraries
if (!collectionType || isMovies()) {