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

@ -12,7 +12,7 @@ type IProps = {
listTitle?: string;
description?: string;
children?: React.ReactNode
}
};
const AccessContainer: FunctionComponent<IProps> = ({ containerClassName, headerTitle, checkBoxClassName, checkBoxTitle, listContainerClassName, accessClassName, listTitle, description, children }: IProps) => {
return (

View file

@ -9,7 +9,7 @@ type AccessScheduleListProps = {
DayOfWeek?: string;
StartHour?: number ;
EndHour?: number;
}
};
function getDisplayTime(hours = 0) {
let minutes = 0;

View file

@ -3,7 +3,7 @@ import IconButtonElement from '../../../elements/IconButtonElement';
type IProps = {
tag?: string;
}
};
const BlockedTagList: FunctionComponent<IProps> = ({ tag }: IProps) => {
return (

View file

@ -4,7 +4,7 @@ import globalize from '../../../scripts/globalize';
type IProps = {
title?: string;
className?: string;
}
};
const createLinkElement = ({ className, title }: IProps) => ({
__html: `<a

View file

@ -3,7 +3,7 @@ import globalize from '../../../scripts/globalize';
type IProps = {
activeTab: string;
}
};
const createLinkElement = (activeTab: string) => ({
__html: `<a href="#"

View file

@ -19,7 +19,7 @@ const createLinkElement = ({ user, renderImgUrl }: { user: UserDto, renderImgUrl
type IProps = {
user?: UserDto;
}
};
const getLastSeenText = (lastActivityDate?: string | null) => {
if (lastActivityDate) {

View file

@ -11,7 +11,7 @@ import InputElement from '../../../elements/InputElement';
type IProps = {
userId: string;
}
};
const UserPasswordForm: FunctionComponent<IProps> = ({ userId }: IProps) => {
const element = useRef<HTMLDivElement>(null);

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[]>([]);