📜 Description
catch (err) {
console.error(err); // Error logged but not displayed to user
setLoading(false); // Loading state reset without error state
}
Issue: Catch block doesn't set any error state. Users won't know if data failed to load since loading is set to false without indicating an error occurred.
Impact: Silent failures, users see "No activity found" message without knowing if it's due to error or legitimate empty state.
Recommended Fix: Add error state management and display error messages to users.
What browsers are you seeing the problem on?
No response
📃 Relevant Screenshots (Links)
No response
📜 Description
catch (err) {
console.error(err); // Error logged but not displayed to user
setLoading(false); // Loading state reset without error state
}
Issue: Catch block doesn't set any error state. Users won't know if data failed to load since loading is set to false without indicating an error occurred.
Impact: Silent failures, users see "No activity found" message without knowing if it's due to error or legitimate empty state.
Recommended Fix: Add error state management and display error messages to users.
What browsers are you seeing the problem on?
No response
📃 Relevant Screenshots (Links)
No response