aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ChapterVoteComponent.tsx
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-09-18 16:58:53 -0400
committerAjay <[email protected]>2022-09-18 16:58:53 -0400
commitd04494494627ac19954808c0a340a5dbbb444c6d (patch)
tree0e82ca40166af44e7be32cab675a7ebac0753b62 /src/components/ChapterVoteComponent.tsx
parent7bbf2f1ce262354b1b621457a1cc0d8a19456b07 (diff)
downloadSponsorBlock-d04494494627ac19954808c0a340a5dbbb444c6d.tar.gz
SponsorBlock-d04494494627ac19954808c0a340a5dbbb444c6d.zip
Fix type error
Diffstat (limited to 'src/components/ChapterVoteComponent.tsx')
-rw-r--r--src/components/ChapterVoteComponent.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ChapterVoteComponent.tsx b/src/components/ChapterVoteComponent.tsx
index 8bb07a56..37591f0c 100644
--- a/src/components/ChapterVoteComponent.tsx
+++ b/src/components/ChapterVoteComponent.tsx
@@ -18,7 +18,7 @@ export interface ChapterVoteProps {
export interface ChapterVoteState {
segment?: SponsorTime;
show: boolean;
- size: string;
+ size?: string;
}
class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVoteState> {