minor fix
This commit is contained in:
@@ -92,7 +92,7 @@ export function FourPercentRuleChart() {
|
||||
content={
|
||||
<ChartTooltipContent
|
||||
labelFormatter={(value) => `Year ${String(value)}`}
|
||||
indicator="dot"
|
||||
indicator="line"
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -3,6 +3,7 @@ import { vi } from 'vitest';
|
||||
|
||||
// Provide a basic matchMedia mock for jsdom so components using media queries
|
||||
// (e.g. pointer detection in Tooltip) do not throw during tests.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||
if (!window.matchMedia) {
|
||||
Object.defineProperty(window, 'matchMedia', {
|
||||
writable: true,
|
||||
|
||||
Reference in New Issue
Block a user