mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 18:17:44 +02:00
fix: remove process.cwd() call in renderer
Node.js process API is not available in renderer with context isolation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,7 @@ function App(): React.JSX.Element {
|
||||
}, [agentStatus.state, currentSession, sessions.length])
|
||||
|
||||
const handleNewSession = () => {
|
||||
setNewSessionCwd(process.cwd?.() || '')
|
||||
setNewSessionCwd('')
|
||||
setShowNewSession(true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user