Skip to content

Commit f5d52be

Browse files
committed
initialize theme after parsing arguments
1 parent 1cf7142 commit f5d52be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Command } from 'commander'
1010
import React from 'react'
1111

1212
import { App } from './app'
13-
import './state/theme-store' // Initialize theme store and watchers
1413
import { getUserCredentials } from './utils/auth'
1514
import { loadAgentDefinitions } from './utils/load-agent-definitions'
1615
import { getLoadedAgentsData } from './utils/local-agent-registry'
@@ -72,6 +71,8 @@ function parseArgs(): ParsedArgs {
7271

7372
const { initialPrompt, agent, clearLogs } = parseArgs()
7473

74+
import './state/theme-store' // Initialize theme store and watchers
75+
7576
if (clearLogs) {
7677
clearLogFile()
7778
}

0 commit comments

Comments
 (0)