Skip to content

Commit

Permalink
Removing a couple more unused changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wayfarer3130 committed Sep 27, 2023
1 parent c42aefa commit f4a5f01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion platform/app/public/html-templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@
<!-- <script
src="https://polyfill.io/v3/polyfill.min.js?flags=gated&features=default%2CObject.values%2CArray.prototype.flat%2CObject.entries%2CSymbol%2CArray.prototype.includes%2CString.prototype.repeat%2CArray.prototype.find"></script>!-->
<script type="text/javascript">
console.time('scriptToView');
window.PUBLIC_URL = '<%= PUBLIC_URL %>';
</script>
<script
Expand Down
3 changes: 2 additions & 1 deletion platform/app/src/routes/DataSourceWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable react/jsx-props-no-spreading */
import React, { useCallback, useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import { ExtensionManager, MODULE_TYPES, } from '@ohif/core';
import { ExtensionManager, MODULE_TYPES } from '@ohif/core';
//
import { extensionManager } from '../App.tsx';
import { useParams, useLocation } from 'react-router';
Expand Down Expand Up @@ -149,6 +149,7 @@ function DataSourceWrapper(props) {
// 204: no content
async function getData() {
setIsLoading(true);

const studies = await dataSource.query.studies.search(queryFilterValues);

setData({
Expand Down
4 changes: 1 addition & 3 deletions platform/app/src/routes/Mode/Mode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect, useState, useRef } from 'react';
import { useParams, useLocation, useNavigate } from 'react-router';
import PropTypes from 'prop-types';
// TODO: DicomMetadataStore should be injected?
import { DicomMetadataStore, ServicesManager, utils, Types, log } from '@ohif/core';
import { DicomMetadataStore, ServicesManager, utils } from '@ohif/core';
import { DragAndDropProvider, ImageViewerProvider } from '@ohif/ui';
import { useSearchParams } from '@hooks';
import { useAppConfig } from '@state';
Expand All @@ -15,8 +15,6 @@ import isSeriesFilterUsed from '../../utils/isSeriesFilterUsed';

const { getSplitParam } = utils;

const { TimingEnum } = Types;

/**
* Initialize the route.
*
Expand Down

0 comments on commit f4a5f01

Please sign in to comment.