pyspur
pyspur copied to clipboard
Bugfix/app freeze
[!IMPORTANT] Fix app freeze by correcting
SettingsModalimport and improving modal state management inHeader.tsxandSettingsModal.tsx.
- Header.tsx:
- Fix import: Rename
SettingsCardtoSettingsModal.- Add state
isSettingsModalOpento manageSettingsModalvisibility.- Replace
SettingsCardwith a button to toggleSettingsModal.- SettingsModal.tsx:
- Remove unused imports and
useDisclosurehook.- Add
SettingsModalPropsinterface for props.- Use
activeTabstate to toggle between 'appearance' and 'api-keys' tabs.- Simplify modal rendering by removing unnecessary fragments and components.
This description was created by
for 0a9b5b659d0d6d3a8ebf941eced9145d2d929203. It will automatically update as commits are pushed.