mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-27 16:26:16 +08:00
c56866f48c
- Add useEffect to automatically extract and sync OPENAI_API_KEY from codexAuth to codexApiKey state - Fix issue where API key wasn't populated in form after applying configuration wizard - Optimize handleCodexApiKeyChange to trim input upfront - Move getCodexAuthApiKey function closer to usage for better code organization - Remove redundant dependency from useEffect dependency array