Closed ch-liuzhide closed 1 month ago
This pull request addresses a bug related to the incorrect usage of useMemo
dependencies in the DeployBotModal
component. The changes ensure that default values are not assigned unnecessarily, and nullish coalescing is used to handle potential undefined values. Additionally, a minor correction in the API endpoint URL is made.
File | Summary |
---|---|
client/app/factory/edit/components/DeployBotModal/index.tsx | Removed default empty array assignments and added nullish coalescing for peterCatBotRepos . |
client/app/hooks/useBot.ts | Removed unnecessary comma in the enabled property. |
client/app/services/BotsController.ts | Corrected the API endpoint URL from /repos_installed_app to /repos_installed_app1 . |
The latest updates on your projects. Learn more about Vercel for Git ↗︎