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 0bc1bc4 commit a9bc7a1
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions packages/odyssey-storybook/src/guidelines/Roadmap/RoadmapTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,30 @@ 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 @@ -154,30 +178,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 a9bc7a1

Please sign in to comment.