Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
benlister-okta committed Jul 24, 2024
1 parent 1cc8fb0 commit 8380853
Showing 1 changed file with 23 additions and 25 deletions.
48 changes: 23 additions & 25 deletions packages/odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,29 @@ const processData = ({

return paginatedData;
};

const fetchData = ({
page,
resultsPerPage,
search,
filters,
sort,
}: {
page?: number;
resultsPerPage?: number;
search?: string;
filters?: DataFilter[];
sort?: DataTableSortingState;
}) => {
console.log("s");
return processData({
initialData: data,
page: page,
resultsPerPage: resultsPerPage,
search: search,
filters: filters,
sort: sort,
});
};
export const InnerRoadmapTable = () => {
// Constants for filter options

Expand Down Expand Up @@ -152,30 +174,6 @@ export const InnerRoadmapTable = () => {
{ label: "Q4 FY26", value: "Q4 FY26" },
];

const fetchData = ({
page,
resultsPerPage,
search,
filters,
sort,
}: {
page?: number;
resultsPerPage?: number;
search?: string;
filters?: DataFilter[];
sort?: DataTableSortingState;
}) => {
console.log("s");
return processData({
initialData: data,
page: page,
resultsPerPage: resultsPerPage,
search: search,
filters: filters,
sort: sort,
});
};

return (
<DataTable
columns={columns}
Expand Down

0 comments on commit 8380853

Please sign in to comment.