Skip to content

SyncManager shows the error icon in green #1060

Description

@RUKAYAT-CODER

Overview
src/components/offline/SyncManager.tsx picks StatusIcon = AlertTriangle when syncStatus === 'error' (line 47), but the icon className only special-cases 'syncing' (blue) and otherwise falls back to text-green-600 (lines 56-58). The error state thus renders a green warning triangle, contradicting the 'Error' label. Color the icon red/amber for the error state.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingfrontendNexjs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions