MCPcopy Create free account
hub / github.com/Noumena-Network/code / completeOnboarding

Function completeOnboarding

src/interactiveHelpers.tsx:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34import { getSettingsWithAllErrors } from './utils/settings/allErrors.js';
35import { hasAutoModeOptIn, hasSkipDangerousModePermissionPrompt } from './utils/settings/settings.js';
36export function completeOnboarding(): void {
37 saveGlobalConfig(current => ({
38 ...current,
39 hasCompletedOnboarding: true,
40 lastOnboardingVersion: MACRO.VERSION
41 }));
42}
43export function showDialog<T = void>(root: Root, renderer: (done: (result: T) => void) => React.ReactNode): Promise<T> {
44 return new Promise<T>(resolve => {
45 const done = (result: T): void => void resolve(result);

Callers 2

showSetupScreensFunction · 0.85
callFunction · 0.85

Calls 1

saveGlobalConfigFunction · 0.50

Tested by

no test coverage detected