Skip to content

Commit d78af09

Browse files
CopilotByron
andcommitted
Fix ESLint errors: import order and remove unused imports
Co-authored-by: Byron <[email protected]>
1 parent 181e25d commit d78af09

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/desktop/src/components/BranchHeaderContextMenu.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</script>
99

1010
<script lang="ts">
11+
import { goto } from '$app/navigation';
1112
import BranchRenameModal, {
1213
type BranchRenameModalProps
1314
} from '$components/BranchRenameModal.svelte';
@@ -18,7 +19,6 @@
1819
import { PROMPT_SERVICE } from '$lib/ai/promptService';
1920
import { AI_SERVICE } from '$lib/ai/service';
2021
import { CLIPBOARD_SERVICE } from '$lib/backend/clipboard';
21-
import { CLAUDE_CODE_SERVICE } from '$lib/codegen/claude';
2222
import { projectAiGenEnabled } from '$lib/config/config';
2323
import { DEFAULT_FORGE_FACTORY } from '$lib/forge/forgeFactory.svelte';
2424
import { codegenPath } from '$lib/routes/routes.svelte';
@@ -35,7 +35,6 @@
3535
} from '@gitbutler/ui';
3636
3737
import { tick } from 'svelte';
38-
import { goto } from '$app/navigation';
3938
import type { AnchorPosition, BranchDetails } from '$lib/stacks/stack';
4039
4140
type Props = {
@@ -62,7 +61,6 @@
6261
const promptService = inject(PROMPT_SERVICE);
6362
const urlService = inject(URL_SERVICE);
6463
const clipboardService = inject(CLIPBOARD_SERVICE);
65-
const claudeCodeService = inject(CLAUDE_CODE_SERVICE);
6664
const [insertBlankCommitInBranch, commitInsertion] = stackService.insertBlankCommit;
6765
const [updateBranchNameMutation] = stackService.updateBranchName;
6866
const [createRef, refCreation] = stackService.createReference;

apps/desktop/src/routes/[projectId]/codegen/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import CodegenPage from '$components/codegen/CodegenPage.svelte';
55
import { codegenEnabled } from '$lib/config/uiFeatureFlags';
66
import { workspacePath } from '$lib/routes/routes.svelte';
7-
import { UI_STATE } from '$lib/state/uiState.svelte';
87
import { STACK_SERVICE } from '$lib/stacks/stackService.svelte';
8+
import { UI_STATE } from '$lib/state/uiState.svelte';
99
import { inject } from '@gitbutler/core/context';
1010
1111
// TODO: Refactor so we don't need non-null assertion.

0 commit comments

Comments
 (0)