axios+telemetry cleanup
This commit is contained in:
@@ -2,6 +2,7 @@ import { feature } from 'bun:bundle';
|
||||
import { appendFileSync } from 'fs';
|
||||
import React from 'react';
|
||||
import { logEvent } from 'src/services/analytics/index.js';
|
||||
import { VERSION } from './constants/product.js';
|
||||
import { gracefulShutdown, gracefulShutdownSync } from 'src/utils/gracefulShutdown.js';
|
||||
import { type ChannelEntry, getAllowedChannels, setAllowedChannels, setHasDevChannels, setSessionTrustAccepted, setStatsStore } from './bootstrap/state.js';
|
||||
import type { Command } from './commands.js';
|
||||
@@ -33,7 +34,7 @@ export function completeOnboarding(): void {
|
||||
saveGlobalConfig(current => ({
|
||||
...current,
|
||||
hasCompletedOnboarding: true,
|
||||
lastOnboardingVersion: MACRO.VERSION
|
||||
lastOnboardingVersion: VERSION
|
||||
}));
|
||||
}
|
||||
export function showDialog<T = void>(root: Root, renderer: (done: (result: T) => void) => React.ReactNode): Promise<T> {
|
||||
|
||||
Reference in New Issue
Block a user