fix typings and revert spacing

This commit is contained in:
Michael C 2022-10-07 20:06:03 -04:00
parent fda4a03541
commit 81e85c19ae
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4
3 changed files with 2 additions and 3 deletions

View file

@ -13,7 +13,7 @@ export interface CategorySkipOptionsProps {
category: Category;
defaultColor?: string;
defaultPreviewColor?: string;
children?: React.ReactNode[];
children?: React.ReactNode;
}
export interface CategorySkipOptionsState {

View file

@ -5,7 +5,7 @@ import { exportTimes, exportTimesAsHashParam } from "../../utils/exporter";
export interface UnsubmittedVideosListItemProps {
videoID: string;
children?: React.ReactNode[];
children?: React.ReactNode;
}
export interface UnsubmittedVideosListItemState {

View file

@ -32,7 +32,6 @@ export class RectangleTooltip {
this.text = props.text;
props.fontSize ??= "10px";
this.container = document.createElement('div');
props.htmlId ??= "sponsorRectangleTooltip" + props.text;
this.container.id = props.htmlId;