Skip to content

Commit 6b6a680

Browse files
committed
fix: better code
1 parent adc0850 commit 6b6a680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MemoryViewer/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export interface MemorySegment {
2323

2424
// Memory segment colors using CSS variables for theme support
2525
export const MEMORY_SEGMENT_COLORS: Record<string, string> = {
26+
AllocatorCachesMemory: 'var(--g-color-base-danger-medium)',
2627
SharedCacheConsumption: 'var(--g-color-base-info-medium)',
27-
QueryExecutionConsumption: 'var(--g-color-base-positive-medium)',
2828
MemTableConsumption: 'var(--g-color-base-warning-medium)',
29-
AllocatorCachesMemory: 'var(--g-color-base-danger-medium)',
29+
QueryExecutionConsumption: 'var(--g-color-base-positive-medium)',
3030
Other: 'var(--g-color-base-neutral-medium)',
3131
};
3232

0 commit comments

Comments
 (0)