Skip to content

Commit

Permalink
fix develop merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalesi committed May 28, 2024
2 parents b2763bd + 39df20f commit 547af32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/shared/components/Preview/PDFPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const PDFThumbnail = ({
file={url}
onLoadError={console.error}
renderMode="svg"
options={{ isEvalSupported: false }}
>
<Page
className="pdf-thumbnail-page"
Expand Down
7 changes: 5 additions & 2 deletions src/shared/containers/ResourceViewContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import { useNexusContext } from '@bbp/react-nexus';
import { Resource, IncomingLink, ExpandedResource } from '@bbp/nexus-sdk/es';
import { useSelector, useDispatch } from 'react-redux';
import { intersection, isArray } from 'lodash';
import { DeleteOutlined } from '@ant-design/icons';
import { Link } from 'react-router-dom';

import AdminPlugin from '../containers/AdminPluginContainer';
import VideoPluginContainer from './VideoPluginContainer/VideoPluginContainer';
import ResourcePlugins from './ResourcePlugins';
Expand All @@ -29,8 +32,7 @@ import useNotification from '../hooks/useNotification';
import Preview from '../components/Preview/Preview';
import ImagePreview from '../components/ImagePreview/ImagePreview';
import { getUpdateResourceFunction } from '../utils/updateResource';
import { DeleteOutlined } from '@ant-design/icons';
import { Link } from 'react-router-dom';

import ResourceViewActionsContainer from './ResourceViewActionsContainer';
import ResourceMetadata from '../components/ResourceMetadata';
import { ResourceLinkAugmented } from '../components/ResourceLinks/ResourceLinkItem';
Expand All @@ -44,6 +46,7 @@ import {
TErrorWithType,
TUpdateResourceFunctionError,
} from '../../utils/types';

import ResponseViewer from '../../shared/components/IDResolution/ResponseViewer';

export type PluginMapping = {
Expand Down

0 comments on commit 547af32

Please sign in to comment.