File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
browser-extension/src/lib/enhancers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ export function modifyDOM(overtypeInput: HTMLTextAreaElement): HTMLElement {
3030 const writePreviewTabs = Array . from (
3131 ( overtypeContainer . firstElementChild as HTMLElement ) . querySelectorAll ( 'button' ) ,
3232 )
33- const writeTab = writePreviewTabs . find ( ( button ) => button . textContent . includes ( 'Write' ) ) !
34- const previewTab = writePreviewTabs . find ( ( button ) => button . textContent . includes ( 'Preview' ) ) !
33+ const writeTab = writePreviewTabs . find ( ( button ) => button . textContent . includes ( 'Write' ) )
34+ const previewTab = writePreviewTabs . find ( ( button ) => button . textContent . includes ( 'Preview' ) )
3535
3636 if ( writeTab && previewTab ) {
3737 // Hide the textarea when the user is on the "Preview" tab
You can’t perform that action at this time.
0 commit comments