Skip to content

Commit aaee774

Browse files
perf(web): the git actions panel no longer re-renders on every streamed update (pingdotgg#27418)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent d8c926c commit aaee774

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/GitActionsControl.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ import {
8989
useVcsInitAction,
9090
useVcsPullAction,
9191
} from "../state/sourceControlActions";
92-
import { useThreadProjection, useQuietThreadShell } from "~/state/entities";
92+
import { useQuietThreadProjection, useQuietThreadShell } from "~/state/entities";
9393
import { readEnvironmentScope, useEnvironmentScope } from "~/state/session";
9494
import { useEnvironmentQuery } from "~/state/query";
9595
import { serverEnvironment } from "~/state/server";
@@ -958,7 +958,7 @@ export default function GitActionsControl({
958958
? store.getDraftThreadByRef(activeThreadRef)
959959
: null,
960960
);
961-
const activeServerThreadProjection = useThreadProjection(
961+
const activeServerThreadProjection = useQuietThreadProjection(
962962
activeDraftThread !== null && activeServerThreadShell === null ? null : activeThreadRef,
963963
);
964964
const activeServerThread =

0 commit comments

Comments
 (0)