mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Make parameters optional for components ported to TSX
This commit is contained in:
parent
d770581c52
commit
69c4aee2b0
7 changed files with 18 additions and 18 deletions
|
@ -6,9 +6,9 @@ import SearchSuggestions from '../search/SearchSuggestions';
|
|||
import LiveTVSearchResults from '../search/LiveTVSearchResults';
|
||||
|
||||
type SearchProps = {
|
||||
serverId: string,
|
||||
parentId: string,
|
||||
collectionType: string
|
||||
serverId?: string,
|
||||
parentId?: string,
|
||||
collectionType?: string
|
||||
};
|
||||
|
||||
const SearchPage: FunctionComponent<SearchProps> = ({ serverId, parentId, collectionType }: SearchProps) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue