Skip to content

Commit 1db254a

Browse files
committed
style: remove unused imports in App.tsx and fix mixed indent in session.ts
1 parent c3e7845 commit 1db254a

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

src/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ The candidate skills are as follows:\n\n`;
10651065
const droppedEntries = sortedEntries.filter((item) => !keptIds.has(item.id));
10661066
index.entries = keptEntries;
10671067
this.saveSessionsIndex(index);
1068-
for (const dropped of droppedEntries) {
1068+
for (const dropped of droppedEntries) {
10691069
this.cleanupSessionResources(dropped.id, {
10701070
removeMessages: true,
10711071
processIds: this.getProcessIds(dropped.processes ?? null),

src/ui/views/App.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
22
import { Box, Static, Text, useApp, useStdout, useWindowSize } from "ink";
33
import chalk from "chalk";
4-
import * as fs from "fs";
5-
import * as os from "os";
6-
import * as path from "path";
74
import { createOpenAIClient } from "../../common/openai-client";
85
import {
96
type LlmStreamProgress,
@@ -18,13 +15,7 @@ import {
1815
type UndoTarget,
1916
type UserPromptContent,
2017
} from "../../session";
21-
import {
22-
applyModelConfigSelection,
23-
type DeepcodingSettings,
24-
type ModelConfigSelection,
25-
type ResolvedDeepcodingSettings,
26-
resolveSettingsSources,
27-
} from "../../settings";
18+
import { type ModelConfigSelection } from "../../settings";
2819
import { PromptInput, type PromptDraft, type PromptSubmission } from "./PromptInput";
2920
import { MessageView, RawModeExitPrompt } from "../components";
3021
import { SessionList } from "./SessionList";

0 commit comments

Comments
 (0)