File tree Expand file tree Collapse file tree 2 files changed +1
-55
lines changed Expand file tree Collapse file tree 2 files changed +1
-55
lines changed Original file line number Diff line number Diff line change 1- import { CONFIG , type ModeType } from '../lib/config'
1+ import { CONFIG } from '../lib/config'
22import type { CommentEvent , CommentSpot } from '../lib/enhancer'
33import { logger } from '../lib/logger'
44import { EnhancerRegistry , TextareaRegistry } from '../lib/registries'
5- import { githubPrNewCommentContentScript } from '../playgrounds/github-playground'
65
76const enhancers = new EnhancerRegistry ( )
87const enhancedTextareas = new TextareaRegistry ( )
@@ -24,10 +23,6 @@ enhancedTextareas.setEventHandlers(
2423
2524export 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 )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments