Skip to content

Commit

Permalink
#1532 - Fix circular dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
louise-davies committed Jul 19, 2023
1 parent bedce9a commit f89729c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions packages/datagateway-common/src/api/dataPublications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import {
AdditionalFilters,
Datafile,
Dataset,
DataPublication,
FiltersType,
Investigation,
SortType,
} from '../app.types';
import axios, { AxiosError } from 'axios';
import { DataPublication } from '../app.types';
import { StateType } from '../state/app.types';
import { IndexRange } from 'react-virtualized';
import { readSciGatewayToken } from '../parseTokens';
import handleICATError from '../handleICATError';
Expand All @@ -20,15 +21,9 @@ import {
import { useSelector } from 'react-redux';
import { useLocation } from 'react-router-dom';
import { getApiParams, parseSearchToQuery } from '.';
import {
fetchDatafileCountQuery,
fetchDatafiles,
fetchDatasetCountQuery,
fetchDatasets,
fetchInvestigationCount,
fetchInvestigations,
StateType,
} from '..';
import { fetchDatafileCountQuery, fetchDatafiles } from './datafiles';
import { fetchDatasetCountQuery, fetchDatasets } from './datasets';
import { fetchInvestigationCount, fetchInvestigations } from './investigations';
import retryICATErrors from './retryICATErrors';

const fetchDataPublications = (
Expand Down

0 comments on commit f89729c

Please sign in to comment.