@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 7 lines 324 Bytes
Raw
1 import type { EnvironmentId } from "@t3tools/contracts";
2 import { useServerConfigs } from "~/state/entities";
3
4 export function useSupportsMultiplePullRequests(environmentId: EnvironmentId | null): boolean {
5 const configs = useServerConfigs();
6 return environmentId !== null && configs.get(environmentId) !== undefined;
7 }