Skip to content

Commit 031d2e3

Browse files
committed
Delete playground.
1 parent d91add6 commit 031d2e3

File tree

2 files changed

+1
-55
lines changed

2 files changed

+1
-55
lines changed

browser-extension/src/entrypoints/content.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { CONFIG, type ModeType } from '../lib/config'
1+
import { CONFIG } from '../lib/config'
22
import type { CommentEvent, CommentSpot } from '../lib/enhancer'
33
import { logger } from '../lib/logger'
44
import { EnhancerRegistry, TextareaRegistry } from '../lib/registries'
5-
import { githubPrNewCommentContentScript } from '../playgrounds/github-playground'
65

76
const enhancers = new EnhancerRegistry()
87
const enhancedTextareas = new TextareaRegistry()
@@ -24,10 +23,6 @@ enhancedTextareas.setEventHandlers(
2423

2524
export default defineContentScript({
2625
main() {
27-
if ((CONFIG.MODE as ModeType) === 'PLAYGROUNDS_PR') {
28-
githubPrNewCommentContentScript()
29-
return
30-
}
3126
const textAreasOnPageLoad = document.querySelectorAll<HTMLTextAreaElement>(`textarea`)
3227
for (const textarea of textAreasOnPageLoad) {
3328
enhanceMaybe(textarea)

browser-extension/src/playgrounds/github-playground.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)