fix(funnels): align FunnelResult export with actual returned shape
This commit is contained in:
1 parent
c88313dfff
commit
a5f4210d84
2 files changed
+5
-11
No files matched your search
@@ -6,17 +6,9 @@ import { ReportEditButton } from '@/components/input/ReportEditButton';
|
||||
import { ChangeLabel } from '@/components/metrics/ChangeLabel';
|
||||
import { Lightning } from '@/components/svg';
|
||||
import { formatLongNumber } from '@/lib/format';
|
||||
import type { FunnelStep } from '@/queries/sql/reports/getFunnel';
|
||||
import type { FunnelResult } from '@/queries/sql/reports/getFunnel';
|
||||
import { FunnelEditForm } from './FunnelEditForm';
|
||||
|
||||
type FunnelResult = FunnelStep & {
|
||||
visitors: number;
|
||||
previous: number;
|
||||
dropped: number;
|
||||
dropoff: number;
|
||||
remaining: number;
|
||||
};
|
||||
|
||||
interface FunnelProps {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
Reference in new issue
Block a user