mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 14:37:23 +03:00
fix react errors about using inherit
This commit is contained in:
@@ -42,7 +42,7 @@ class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVote
|
|||||||
onClick={(e) => this.vote(e, 1)}>
|
onClick={(e) => this.vote(e, 1)}>
|
||||||
<ThumbsUpSvg className="playerButtonImage"
|
<ThumbsUpSvg className="playerButtonImage"
|
||||||
fill={Config.config.colorPalette.white}
|
fill={Config.config.colorPalette.white}
|
||||||
width={"inherit"} height={"inherit"} />
|
width={null} height={null} />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{/* Downvote Button */}
|
{/* Downvote Button */}
|
||||||
@@ -92,8 +92,8 @@ class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVote
|
|||||||
<ThumbsDownSvg
|
<ThumbsDownSvg
|
||||||
className="playerButtonImage"
|
className="playerButtonImage"
|
||||||
fill={downvoteButtonColor(this.state.segment ? [this.state.segment] : null, SkipNoticeAction.Downvote, SkipNoticeAction.Downvote)}
|
fill={downvoteButtonColor(this.state.segment ? [this.state.segment] : null, SkipNoticeAction.Downvote, SkipNoticeAction.Downvote)}
|
||||||
width={"inherit"}
|
width={null}
|
||||||
height={"inherit"} />
|
height={null} />
|
||||||
</button>
|
</button>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user