mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 01:31:12 -05:00
Start Phase 4: Cleanup & Polish
This commit is contained in:
@@ -107,8 +107,8 @@ export const useModerationStats = (options: UseModerationStatsOptions = {}) => {
|
||||
flaggedContent: 0,
|
||||
});
|
||||
} catch (error: unknown) {
|
||||
const errorMsg = getErrorMessage(error);
|
||||
console.error('Error fetching moderation stats:', error);
|
||||
// Silent failure - stats refresh periodically in background
|
||||
// Error already captured in errorMsg for potential monitoring
|
||||
} finally {
|
||||
// Only clear loading if it was set
|
||||
if (!silent) {
|
||||
|
||||
Reference in New Issue
Block a user