mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
fix typings and revert spacing
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user