Skip to content

Conversation

@djyde
Copy link

@djyde djyde commented Sep 30, 2025

  • Use react-hook-form to handle form state
  • Use @tanstack/react-query to handle async task and mutations
  • Remove global window binding.
  • Use shadcn/ui

@farion1231
Copy link
Owner

感谢大佬的重构!我检查了一下认为还有一点残留的小问题:src/components/SettingsModal.tsx:86、src/components/ProviderList.tsx:93 等还有残留的 window.api.* ; src/vite-env.d.ts:4 处的 AppType 已经不再导出;src/App.tsx:29 处的 confirmDialog 相关状态已经无用,您看看

@djyde djyde marked this pull request as draft October 1, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants