Changed steps to dropdown.

This commit is contained in:
Mike Cao committed 2024-06-08 21:43:29 -07:00
1 parent edd679295c
commit 3234120bfb
3 files changed
+92 -76

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ interface JourneyResult {
e5: string;
e6: string;
e7: string;
count: string;
count: number;
}
export async function getJourney(
@@ -267,6 +267,6 @@ function combineSequentialDuplicates(array: any) {
function parseResult(data: any) {
return data.map(({ e1, e2, e3, e4, e5, e6, e7, count }) => ({
items: combineSequentialDuplicates([e1, e2, e3, e4, e5, e6, e7]),
count,
count: +count,
}));
}