Closed lawvs closed 1 day ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
follow | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 20, 2024 6:29pm |
Suggested PR Title:
refactor(command): update command registration hooks
Change Summary:
Refactor command registration with new useRegisterFollowCommand
hook, replacing the deprecated useRegisterCommandEffect
. Added TypeScript tests to validate command types and usage, enhancing code maintainability and clarity.
Code Review: No change requests necessary.
Rename
useRegisterCommandEffect
touseRegisterCommand
and simplify its implementation.Remove the deprecated hook and update related imports accordingly. Introduce type safety improvements for command registration.