diff --git a/app/renderer/App.tsx b/app/renderer/App.tsx index ed44cb7..18c2739 100644 --- a/app/renderer/App.tsx +++ b/app/renderer/App.tsx @@ -173,7 +173,7 @@ export function App() { />
{children}
} +// The CLI `compare` command has no --from/--to, so a custom range falls back to +// the selected period. Say so instead of silently ignoring the dates. +function RangeNote() { + return ( ++ Compare uses the selected period, custom dates are not supported yet. +
+ ) +} + export function Compare({ period, provider, + range = null, refreshToken = 0, }: { period: Period provider: string + range?: DateRange | null refreshToken?: number }) { const models = usePolled