authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-26 19:34:53-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-26 19:34:53-08:00
log501335bc313f1006b6e4143b2d9539d3cdfaca71
tree62e1e9c70de997c97a2f02c294376622a0d2e6c3
parent0cfaf7325ec314cfc9582a6ae9bcb22a8d9bfb4d

maybe fix test


1 files changed, 2 insertions(+), 3 deletions(-)

apps/web/src/lib/gitReactQuery.ts+2-3
......@@ -1,6 +1,6 @@
11import type { GitStackedAction } from "@t3tools/contracts";
22import { mutationOptions, queryOptions, type QueryClient } from "@tanstack/react-query";
3import { ensureNativeApi } from "~/nativeApi";
3import { ensureNativeApi } from "../nativeApi";
44
55const GIT_STATUS_STALE_TIME_MS = 5_000;
66const GIT_STATUS_REFETCH_INTERVAL_MS = 15_000;
......@@ -18,8 +18,7 @@ export const gitMutationKeys = {
1818 checkout: (cwd: string | null) => ["git", "mutation", "checkout", cwd] as const,
1919 createBranchAndCheckout: (cwd: string | null) =>
2020 ["git", "mutation", "create-branch-and-checkout", cwd] as const,
21 runStackedAction: (cwd: string | null) =>
22 ["git", "mutation", "run-stacked-action", cwd] as const,
21 runStackedAction: (cwd: string | null) => ["git", "mutation", "run-stacked-action", cwd] as const,
2322 pull: (cwd: string | null) => ["git", "mutation", "pull", cwd] as const,
2423};
2524