From 3ac68aa3130b43bb3f7c72aa3ee9113b75d38d09 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 29 Dec 2020 23:06:50 -0500 Subject: [PATCH] Revert "Add notice about YouCap" This reverts commit e95029c22939eee881391e53355a1aa813fd839c. --- src/components/SubmissionNoticeComponent.tsx | 36 +------------------- src/config.ts | 8 ++--- 2 files changed, 3 insertions(+), 41 deletions(-) diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx index 23726df6..c6aae60a 100644 --- a/src/components/SubmissionNoticeComponent.tsx +++ b/src/components/SubmissionNoticeComponent.tsx @@ -32,8 +32,6 @@ class SubmissionNoticeComponent extends React.Component - {this.getYouCapMessage()} - {/* Last Row */} @@ -117,36 +113,6 @@ class SubmissionNoticeComponent extends React.Component -

- Like contributing to crowdsourced projects? - Consider checking out YouCap, - a new open-source replacement for YouTube{"'"}s now defunct community captions. - YouCap is NOT made by me, but I think it looks like a cool idea. -

- - { this.showingYouCapNotice = false; this.forceUpdate(); }}> - - - ); - } - getSponsorTimeMessages(): JSX.Element[] | JSX.Element { const elements: JSX.Element[] = []; this.timeEditRefs = []; diff --git a/src/config.ts b/src/config.ts index d113e86c..2a40dbf6 100644 --- a/src/config.ts +++ b/src/config.ts @@ -55,9 +55,7 @@ interface SBConfig { "preview-selfpromo": PreviewBarOption, "music_offtopic": PreviewBarOption, "preview-music_offtopic": PreviewBarOption, - }, - - hasShownYouCapNotice: boolean + } } export interface SBObject { @@ -231,9 +229,7 @@ const Config: SBObject = { color: "#a6634a", opacity: "0.7" } - }, - - hasShownYouCapNotice: false + } }, localConfig: null, config: null,