From ba56e6b40f3f568965da8d9b9d345f7275f5196c Mon Sep 17 00:00:00 2001 From: benlister-okta Date: Wed, 24 Jul 2024 16:28:14 -0700 Subject: [PATCH] fix: test --- .../odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx b/packages/odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx index 52e3702816..328917d6e1 100644 --- a/packages/odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx +++ b/packages/odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx @@ -174,8 +174,8 @@ export const InnerRoadmapTable = () => { if (sort && sort.length > 0) { filteredData.sort((a, b) => { for (const { id, desc } of sort) { - const aValue = a[id as keyof Planet]; - const bValue = b[id as keyof Planet]; + const aValue: string | Date = a[id as keyof OdysseyComponent]; + const bValue: string | Date = b[id as keyof OdysseyComponent]; if (aValue < bValue) return desc ? 1 : -1; if (aValue > bValue) return desc ? -1 : 1;