Skip to content

Commit

Permalink
Moving /metadata components over to /record.
Browse files Browse the repository at this point in the history
  • Loading branch information
erinesullivan committed Nov 22, 2024
1 parent ca5346b commit e671f3f
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/modules/metadata/index.js

This file was deleted.

3 changes: 1 addition & 2 deletions src/modules/records/components/Record/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { AddToListButton, isInList } from '../../../lists';
import { Anchor, Icon } from '../../../reusable';
import { getField, getFieldValue } from '../../utilities';
import { Metadata, RecommendedResource } from '../../../records';
import { getDatastoreSlugByUid } from '../../../pride';
import { Metadata } from '../../../metadata';
import PropTypes from 'prop-types';
import React from 'react';
import { RecommendedResource } from '../../../records';
import { ResourceAccess } from '../../../resource-acccess';
import { TrimString } from '../../../core';
import { useLocation } from 'react-router-dom';
Expand Down
2 changes: 1 addition & 1 deletion src/modules/records/components/RecordFull/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
import { Anchor, Breadcrumb, H1 } from '../../../reusable';
import {
FullRecordPlaceholder,
Metadata,
RecommendedResource,
RecordDescription,
RecordFullFormats,
Expand All @@ -18,7 +19,6 @@ import { getField, getFieldValue } from '../../utilities';
import React, { useEffect, useState } from 'react';
import { useNavigate, useParams } from 'react-router-dom';
import { findWhere } from '../../../reusable/underscore';
import { Metadata } from '../../../metadata';
import { NoMatch } from '../../../pages';
import { requestRecord } from '../../../pride';
import { ResourceAccess } from '../../../resource-acccess';
Expand Down
3 changes: 1 addition & 2 deletions src/modules/records/components/RecordPreview/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Anchor, Icon } from '../../../reusable';
import { getField, getFieldValue } from '../../utilities';
import { RecommendedResource, Zotero } from '../../../records';
import { Metadata, RecommendedResource, Zotero } from '../../../records';
import { getDatastoreSlugByUid } from '../../../pride';
import { Metadata } from '../../../metadata';
import PropTypes from 'prop-types';
import React from 'react';
import { TrimString } from '../../../core';
Expand Down
2 changes: 2 additions & 0 deletions src/modules/records/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import FullRecordPlaceholder from './components/FullRecordPlaceholder';
import ILLRequestMessage from './components/ILLRequestMessage';
import KeywordSwitch from './components/KeywordSwitch';
import MARCTable from './components/MARCTable';
import Metadata from './components/Metadata';
import Pagination from './components/Pagination';
import RecommendedResource from './components/RecommendedResource';
import Record from './components/Record';
Expand All @@ -40,6 +41,7 @@ export {
loadingHoldings,
loadingRecords,
MARCTable,
Metadata,
Pagination,
RecommendedResource,
Record,
Expand Down

0 comments on commit e671f3f

Please sign in to comment.