mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
fix typings and revert spacing
This commit is contained in:
parent
fda4a03541
commit
81e85c19ae
3 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,7 @@ export interface CategorySkipOptionsProps {
|
|||
category: Category;
|
||||
defaultColor?: string;
|
||||
defaultPreviewColor?: string;
|
||||
children?: React.ReactNode[];
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
export interface CategorySkipOptionsState {
|
||||
|
|
|
@ -5,7 +5,7 @@ import { exportTimes, exportTimesAsHashParam } from "../../utils/exporter";
|
|||
|
||||
export interface UnsubmittedVideosListItemProps {
|
||||
videoID: string;
|
||||
children?: React.ReactNode[];
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
export interface UnsubmittedVideosListItemState {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue