File tree Expand file tree Collapse file tree 6 files changed +9
-12
lines changed
Expand file tree Collapse file tree 6 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ interface Draft {
2424 stats : DraftStats
2525}
2626export interface CommentTableRow {
27- spot : CommentSpot ,
27+ spot : CommentSpot
2828 latestDraft : Draft
2929 isOpenTab : boolean
3030 isSent : boolean
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export class GitHubIssueNewCommentEnhancer implements CommentEnhancer<GitHubIssu
5757 return (
5858 < >
5959 < span > New Issue</ span >
60- < span className = 'font-mono text-sm text-muted-foreground' > { slug } </ span >
60+ < span className = 'font-mono text-sm text-muted-foreground' > { slug } </ span >
6161 </ >
6262 )
6363 }
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export class GitHubPRNewCommentEnhancer implements CommentEnhancer<GitHubPRNewCo
6262 return (
6363 < >
6464 < span > New PR</ span >
65- < span className = 'font-mono text-sm text-muted-foreground' > { slug } </ span >
65+ < span className = 'font-mono text-sm text-muted-foreground' > { slug } </ span >
6666 </ >
6767 )
6868 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ describe('github', () => {
2323 }
2424 ` )
2525 expect ( enhancedTextarea ?. enhancer . tableRow ( enhancedTextarea . spot ) ) . toMatchInlineSnapshot ( `
26- <span >
26+ <React.Fragment >
2727 <span
2828 className="font-mono text-sm text-muted-foreground"
2929 >
@@ -35,7 +35,7 @@ describe('github', () => {
3535 PR #
3636 517
3737 </span>
38- </span >
38+ </React.Fragment >
3939 ` )
4040 } )
4141 usingHar ( 'gh_new_pr' ) . it ( 'should create the correct spot object' , async ( ) => {
Original file line number Diff line number Diff line change @@ -17,13 +17,10 @@ import {
1717} from 'lucide-react'
1818import { useMemo , useState } from 'react'
1919import { twMerge } from 'tailwind-merge'
20- import {
21- generateMockDrafts ,
22- RedditSpot
23- } from './replicaData'
2420import type { CommentTableRow } from '@/entrypoints/background'
25- import { CommentSpot } from '@/lib/enhancer'
26- import { GitHubIssueAddCommentSpot } from '@/lib/enhancers/github/githubIssueAddComment'
21+ import type { CommentSpot } from '@/lib/enhancer'
22+ import type { GitHubIssueAddCommentSpot } from '@/lib/enhancers/github/githubIssueAddComment'
23+ import { generateMockDrafts , type RedditSpot } from './replicaData'
2724
2825interface FilterState {
2926 sentFilter : 'both' | 'sent' | 'unsent'
Original file line number Diff line number Diff line change 1- import type { CommentSpot } from '@/lib/enhancer'
21import type { CommentTableRow } from '@/entrypoints/background'
2+ import type { CommentSpot } from '@/lib/enhancer'
33import type { GitHubIssueAddCommentSpot } from '@/lib/enhancers/github/githubIssueAddComment'
44import type { GitHubPRAddCommentSpot } from '@/lib/enhancers/github/githubPRAddComment'
55
You can’t perform that action at this time.
0 commit comments