MCPcopy Create free account
hub / github.com/ShipSecAI/studio / sortConnections

Function sortConnections

frontend/src/store/integrationStore.ts:32–34  ·  view source on GitHub ↗
(connections: IntegrationConnection[])

Source from the content-addressed store, hash-verified

30}
31
32function sortConnections(connections: IntegrationConnection[]) {
33 return [...connections].sort((a, b) => a.providerName.localeCompare(b.providerName));
34}
35
36export const useIntegrationStore = create<IntegrationStore>((set, get) => ({
37 providers: [],

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected