fix typings and revert spacing

This commit is contained in:
Michael C
2022-10-07 20:06:03 -04:00
parent fda4a03541
commit 81e85c19ae
3 changed files with 2 additions and 3 deletions

View File

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

View File

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

View File

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