MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _temp

Function _temp

src/hooks/notifs/useCanSwitchToExistingSubscription.tsx:37–42  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

35 };
36}
37function _temp(current) {
38 return {
39 ...current,
40 subscriptionNoticeCount: (current.subscriptionNoticeCount ?? 0) + 1
41 };
42}
43async function getExistingClaudeSubscription(): Promise<'Max' | 'Pro' | null> {
44 // If already using subscription auth, there is nothing to switch to
45 if (isClaudeAISubscriber()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected