MCPcopy
hub / github.com/pingdotgg/t3code / normalizeBaseRef

Function normalizeBaseRef

apps/web/src/diffPanelStore.ts:25–28  ·  view source on GitHub ↗
(baseRef: string | null)

Source from the content-addressed store, hash-verified

23}
24
25function normalizeBaseRef(baseRef: string | null): string | null {
26 const normalized = baseRef?.trim();
27 return normalized ? normalized : null;
28}
29
30export const useDiffPanelStore = create<DiffPanelStoreState>()(
31 persist(

Callers 1

diffPanelStore.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected