mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-27 16:26:16 +08:00
d6cf4390ac
Use lazy initialization in useState to parse model values from config on first render, matching the pattern used in useApiKeyState. This fixes an issue where model fields were not populated in edit mode.