mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Replace loading-circle handling
with native <Loading />
This commit is contained in:
parent
d75221afc2
commit
bf367a295c
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ import React, { FunctionComponent, useCallback, useEffect, useState } from 'reac
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import ServerConnections from '../ServerConnections';
|
import ServerConnections from '../ServerConnections';
|
||||||
import SearchResultsRow from './SearchResultsRow';
|
import SearchResultsRow from './SearchResultsRow';
|
||||||
|
import Loading from '../loading/LoadingComponent';
|
||||||
|
|
||||||
type SearchResultsProps = {
|
type SearchResultsProps = {
|
||||||
serverId?: string;
|
serverId?: string;
|
||||||
|
@ -242,7 +243,7 @@ const SearchResults: FunctionComponent<SearchResultsProps> = ({ serverId = windo
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div className='loading-circle'></div>
|
<Loading />
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<SearchResultsRow
|
<SearchResultsRow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue