Code style fixes and react errors

This commit is contained in:
Ajay Ramachandran
2021-10-15 00:56:48 -04:00
parent 598da2a7fe
commit fe5499e80a
5 changed files with 52 additions and 52 deletions

View File

@@ -319,7 +319,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
}
getCategoryLockedClass(category: string): string {
return (this.props.contentContainer().lockedCategories.includes(category)) ? "SponsorBlockLockedColor" : "";
return this.props.contentContainer().lockedCategories.includes(category) ? "sponsorBlockLockedColor" : "";
}
categorySelectionChange(event: React.ChangeEvent<HTMLSelectElement>): void {