Skip to content

Commit

Permalink
Move Paginator component to molecule and delete uncessary libraries
Browse files Browse the repository at this point in the history
Fixes #1398
  • Loading branch information
CarolineDenis committed Mar 16, 2023
1 parent ec85cee commit 7da5f1a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { SetStateAction } from 'react';
import React from 'react';
import type { State } from 'typesafe-reducer';

import { useAsyncState, usePromise } from '../../hooks/useAsyncState';
Expand All @@ -24,7 +24,7 @@ import { TableIcon } from '../Molecules/TableIcon';
import { hasToolPermission } from '../Permissions/helpers';
import { OverlayContext } from '../Router/Router';
import { EditRecordSet } from './RecordSetEdit';
import { usePaginator } from './Paginator';
import { usePaginator } from '../Molecules/Paginator';

export function RecordSetsOverlay(): JSX.Element {
const handleClose = React.useContext(OverlayContext);
Expand Down
20 changes: 0 additions & 20 deletions specifyweb/frontend/js_src/package-lock.json

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

1 change: 0 additions & 1 deletion specifyweb/frontend/js_src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"react-dom": "^18.2.0",
"react-draggable": "^4.4.5",
"react-modal": "^3.16.1",
"react-paginate": "^8.1.4",
"react-router-dom": "^6.7.0",
"typesafe-i18n": "^5.17.1",
"typesafe-reducer": "^1.0.3",
Expand Down

0 comments on commit 7da5f1a

Please sign in to comment.