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

Function _temp

src/hooks/notifs/useModelMigrationNotifications.tsx:38–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 useStartupNotification(_temp);
37}
38function _temp() {
39 const config = getGlobalConfig();
40 const notifs = [];
41 for (const migration of MIGRATIONS) {
42 const notif = migration(config);
43 if (notif) {
44 notifs.push(notif);
45 }
46 }
47 return notifs.length > 0 ? notifs : null;
48}
49function recent(ts: number | undefined): boolean {
50 return ts !== undefined && Date.now() - ts < 3000;
51}

Callers

nothing calls this directly

Calls 2

getGlobalConfigFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected