diff --git a/specifyweb/frontend/js_src/lib/components/Toolbar/Paginator.tsx b/specifyweb/frontend/js_src/lib/components/Molecules/Paginator.tsx similarity index 100% rename from specifyweb/frontend/js_src/lib/components/Toolbar/Paginator.tsx rename to specifyweb/frontend/js_src/lib/components/Molecules/Paginator.tsx diff --git a/specifyweb/frontend/js_src/lib/components/Toolbar/RecordSets.tsx b/specifyweb/frontend/js_src/lib/components/Toolbar/RecordSets.tsx index 356ba96702d..ee53066d520 100644 --- a/specifyweb/frontend/js_src/lib/components/Toolbar/RecordSets.tsx +++ b/specifyweb/frontend/js_src/lib/components/Toolbar/RecordSets.tsx @@ -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'; @@ -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); diff --git a/specifyweb/frontend/js_src/package-lock.json b/specifyweb/frontend/js_src/package-lock.json index 26df61ed022..45757b7d0b5 100644 --- a/specifyweb/frontend/js_src/package-lock.json +++ b/specifyweb/frontend/js_src/package-lock.json @@ -35,7 +35,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", @@ -12641,17 +12640,6 @@ "react-dom": "^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18" } }, - "node_modules/react-paginate": { - "version": "8.1.4", - "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.1.4.tgz", - "integrity": "sha512-c3rxjcTEqeDQa6LqXifxLeFguY2qy2CHGRphVjHLFFMGfIHyaJ+v3bOvIlLYEeohwQ1q+cQpknjsqBVrkc/SNA==", - "dependencies": { - "prop-types": "^15" - }, - "peerDependencies": { - "react": "^16 || ^17 || ^18" - } - }, "node_modules/react-router": { "version": "6.7.0", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.7.0.tgz", @@ -24117,14 +24105,6 @@ "warning": "^4.0.3" } }, - "react-paginate": { - "version": "8.1.4", - "resolved": "https://registry.npmjs.org/react-paginate/-/react-paginate-8.1.4.tgz", - "integrity": "sha512-c3rxjcTEqeDQa6LqXifxLeFguY2qy2CHGRphVjHLFFMGfIHyaJ+v3bOvIlLYEeohwQ1q+cQpknjsqBVrkc/SNA==", - "requires": { - "prop-types": "^15" - } - }, "react-router": { "version": "6.7.0", "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.7.0.tgz", diff --git a/specifyweb/frontend/js_src/package.json b/specifyweb/frontend/js_src/package.json index c086625d856..11175709e77 100644 --- a/specifyweb/frontend/js_src/package.json +++ b/specifyweb/frontend/js_src/package.json @@ -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",