Skip to content

Commit

Permalink
feat: Update Datatable to opendex/paragon
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed Feb 16, 2024
1 parent 44242fa commit 90f3b7d
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 1 deletion.
276 changes: 276 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"@fortawesome/free-regular-svg-icons": "5.15.4",
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@fortawesome/react-fontawesome": "0.2.0",
"@openedx/paragon": "^21.13.1",
"@reduxjs/toolkit": "1.9.7",
"@tanstack/react-query": "4.36.1",
"broadcast-channel": "^7.0.0",
Expand Down
3 changes: 2 additions & 1 deletion src/taxonomy/tag-list/TagListTable.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
import React, { useState } from 'react';
import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n';
import { DataTable } from '@edx/paragon';
import { DataTable } from '@openedx/paragon';
import { isEqual } from 'lodash';
import Proptypes from 'prop-types';

Expand Down Expand Up @@ -66,6 +66,7 @@ const TagListTable = ({ taxonomyId }) => {
const intl = useIntl();
const [options, setOptions] = useState({
pageIndex: 0,
pageSize: 100,
});
const { isLoading } = useTagListDataStatus(taxonomyId, options);
const tagList = useTagListDataResponse(taxonomyId, options);
Expand Down

0 comments on commit 90f3b7d

Please sign in to comment.