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

apply suggestion

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
grafixeyehero 2024-07-15 20:16:19 +03:00
parent 69afc01d44
commit f8cb8721d1
2 changed files with 7 additions and 8 deletions

View file

@ -33,7 +33,6 @@ const ExperimentalAppToolbar: FC<AppToolbarProps> = ({
const isTabsAvailable = isTabPath(location.pathname);
const isPublicPath = PUBLIC_PATHS.includes(location.pathname);
const isSearchPath = location.pathname === '/search.html';
return (
<AppToolbar
@ -41,7 +40,7 @@ const ExperimentalAppToolbar: FC<AppToolbarProps> = ({
<>
<SyncPlayButton />
<RemotePlayButton />
<SearchButton isTabsAvailable={isTabsAvailable} isSearchPath={isSearchPath} />
<SearchButton isTabsAvailable={isTabsAvailable} />
</>
)}
isDrawerAvailable={isDrawerAvailable}