Skip to content

Commit b9ec880

Browse files
committed
chore: prettier
1 parent 1e95681 commit b9ec880

File tree

13 files changed

+6
-26
lines changed

13 files changed

+6
-26
lines changed

apps/web/src/app/(private)/projects/[projectId]/versions/[commitUuid]/documents/[documentUuid]/_components/DocumentEditor/Editor/SidebarArea/SectionItem/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ export function SectionItemLoader() {
88
</div>
99
)
1010
}
11-

apps/web/src/components/BlocksEditor/Editor/state/promptlToLexical/types.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,4 @@ export interface BlockRootNode
118118
readOnly?: boolean
119119
}
120120

121-
export type {
122-
ElementTag,
123-
Fragment,
124-
MustacheTag,
125-
TemplateNode,
126-
}
121+
export type { ElementTag, Fragment, MustacheTag, TemplateNode }

apps/web/src/components/Integrations/UnconfiguredIntegrations.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ export function UnconfiguredIntegration({
4343
</div>
4444
)
4545
}
46-

apps/web/src/components/PromptConfiguration/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,3 @@ export const useLatitudeAgentsConfig = ({
143143
isLoading,
144144
}
145145
}
146-

apps/web/src/components/tracing/spans/useSpanCompletionData.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { useMemo } from 'react'
22
import { useTrace } from '$/stores/traces'
3-
import {
4-
CompletionSpanMetadata,
5-
SpanType,
6-
} from '@latitude-data/constants'
3+
import { CompletionSpanMetadata, SpanType } from '@latitude-data/constants'
74
import { findAllSpansOfType } from '@latitude-data/core/services/tracing/spans/fetching/findAllSpansOfType'
85
import { findLastSpanOfType } from '@latitude-data/core/services/tracing/spans/fetching/findLastSpanOfType'
96
import { findSpanById } from '@latitude-data/core/services/tracing/spans/fetching/findSpanById'
@@ -44,7 +41,8 @@ export function useSpanCompletionData({
4441
}, [assembledSpan])
4542

4643
const completionSpans = useMemo(
47-
() => findAllSpansOfType(assembledSpan?.children ?? [], SpanType.Completion),
44+
() =>
45+
findAllSpansOfType(assembledSpan?.children ?? [], SpanType.Completion),
4846
[assembledSpan],
4947
)
5048

apps/web/src/data-access/workspaceOnboarding.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,3 @@ export async function getOnboardingResources() {
6464

6565
return { workspace, documents, project, commit }
6666
}
67-

apps/web/src/helpers/captureException.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ export const captureException = (error: Error, tags?: Record<string, any>) => {
4747
}),
4848
)
4949
}
50-

apps/web/src/services/auth/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ export const PUBLIC_ROOT_PATHS = {
1414
invitations: '/invitations',
1515
share: '/share',
1616
}
17-

packages/core/src/services/commits/runDocumentAtCommit.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ model: gpt-4o
347347
// eslint-disable-next-line @typescript-eslint/no-explicit-any
348348
userMessages.forEach((msg: any) => {
349349
if (
350-
351350
msg.content.some(
352351
// eslint-disable-next-line @typescript-eslint/no-explicit-any
353352
(content: any) =>
@@ -395,7 +394,6 @@ model: gpt-4o
395394
// eslint-disable-next-line @typescript-eslint/no-explicit-any
396395
userMessages.forEach((msg: any) => {
397396
if (
398-
399397
msg.content.some(
400398
// eslint-disable-next-line @typescript-eslint/no-explicit-any
401399
(content: any) =>

packages/core/src/services/documents/fork/cloneIntegrations.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ describe('cloneIntegrations', () => {
4949
})
5050

5151
if (!result.ok) {
52-
5352
console.error('cloneIntegrations error:', result.error)
5453
}
5554
expect(result.ok).toBe(true)
@@ -91,7 +90,6 @@ describe('cloneIntegrations', () => {
9190
})
9291

9392
if (!result.ok) {
94-
9593
console.error('cloneIntegrations error:', result.error)
9694
}
9795
expect(result.ok).toBe(true)

0 commit comments

Comments
 (0)