mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
fix: apply CodeRabbit auto-fixes
This commit is contained in:
1 parent
d99fcc268e
commit
df9200880e
15 files changed
+87
-89
No files matched your search
@@ -6,10 +6,6 @@ interface ContextUsageMeterProps {
|
||||
className?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Two-pixel context-window meter: a muted track with a tone-coloured fill sized to `min(percentage, 100)`.
|
||||
* Purely decorative, so the surrounding readout carries the accessible label.
|
||||
*/
|
||||
export function ContextUsageMeter({ percentage, className }: ContextUsageMeterProps) {
|
||||
const width = percentage === null ? 0 : Math.min(percentage, 100)
|
||||
|
||||
|
||||
Reference in new issue
Block a user