Skip to content

Commit

Permalink
EPMUII-8814
Browse files Browse the repository at this point in the history
  • Loading branch information
VikaAbysova committed Jan 19, 2024
1 parent 7b4cd24 commit fdd73df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/FileReaders/OpenFromURLComponent.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from 'react';
import { UIButton } from '../Button/Button';
import UIModalUrl from '../Modals/ModalUrl';
import ModalUrl from '../Modals/ModalUrl';
import MriViwer from '../../engine/lib/MRIViewer';

export const OpenFromURLComponent = ({ cx }) => {
Expand All @@ -22,7 +22,7 @@ export const OpenFromURLComponent = ({ cx }) => {
return (
<>
<UIButton icon="link" text="Open From URL" cx={cx} handler={onModalUrlShow} />
{showModalUrl && <UIModalUrl stateVis={showModalUrl} onHide={onModalUrlHide} loadUrl={onClickLoadUrl} />}
{showModalUrl && <ModalUrl stateVis={showModalUrl} onHide={onModalUrlHide} loadUrl={onClickLoadUrl} />}
</>
);
};

0 comments on commit fdd73df

Please sign in to comment.