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

Fix Page component compatibility issues

This commit is contained in:
Bill Thornton 2022-06-27 11:49:56 -04:00
parent 5b5784a448
commit e2a6f08822
2 changed files with 23 additions and 6 deletions

View file

@ -13,7 +13,11 @@ const SearchPage: FunctionComponent = () => {
const [ searchParams ] = useSearchParams();
return (
<Page title={globalize.translate('Search')} className='mainAnimatedPage libraryPage allLibraryPage noSecondaryNavPage'>
<Page
id='searchPage'
title={globalize.translate('Search')}
className='mainAnimatedPage libraryPage allLibraryPage noSecondaryNavPage'
>
<SearchFields onSearch={setQuery} />
{!query &&
<SearchSuggestions