📜 Description
While reviewing the authentication components, I found that Signup.tsx was using catch (error: any) for error handling, which bypasses TypeScript type safety.
I worked on improving and made following change they are :-
- Replaced unsafe
any type with unknown
- Added safe Axios error type narrowing
- Improved TypeScript safety and maintainability
- Kept error handling consistent with project standards
What browsers are you seeing the problem on?
No response
📃 Relevant Screenshots (Links)
No response
📜 Description
While reviewing the authentication components, I found that
Signup.tsxwas usingcatch (error: any)for error handling, which bypasses TypeScript type safety.I worked on improving and made following change they are :-
anytype withunknownWhat browsers are you seeing the problem on?
No response
📃 Relevant Screenshots (Links)
No response