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

Fix missing semicolons in ts files

This commit is contained in:
Bill Thornton 2023-05-02 15:54:53 -04:00
parent 8041167473
commit 45623fe586
25 changed files with 29 additions and 29 deletions

View file

@ -24,7 +24,7 @@ type LiveTVSearchResultsProps = {
parentId?: string | null;
collectionType?: string | null;
query?: string;
}
};
/*
* React component to display search result rows for live tv library search

View file

@ -12,7 +12,7 @@ type SearchResultsProps = {
parentId?: string | null;
collectionType?: string | null;
query?: string;
}
};
const ensureNonNullItems = (result: BaseItemDtoQueryResult) => ({
...result,

View file

@ -35,13 +35,13 @@ type CardOptions = {
showChannelName?: boolean,
showTitle?: boolean,
showYear?: boolean
}
};
type SearchResultsRowProps = {
title?: string;
items?: BaseItemDto[];
cardOptions?: CardOptions;
}
};
const SearchResultsRow: FunctionComponent<SearchResultsRowProps> = ({ title, items = [], cardOptions = {} }: SearchResultsRowProps) => {
const element = useRef<HTMLDivElement>(null);

View file

@ -25,7 +25,7 @@ const createSuggestionLink = ({ name, href }: { name: string, href: string }) =>
type SearchSuggestionsProps = {
parentId?: string | null;
}
};
const SearchSuggestions: FunctionComponent<SearchSuggestionsProps> = ({ parentId }: SearchSuggestionsProps) => {
const [ suggestions, setSuggestions ] = useState<BaseItemDto[]>([]);