|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
import { Card, Grid, Button, Row, Flex } from 'antd';
|
|
|
import { CloseOutlined } from '@ant-design/icons';
|
|
|
import { getViewIconUrl } from '@/API/bodyPosition';
|
|
|
+import { Image } from 'antd';
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
import { useSelector } from 'react-redux';
|
|
|
import type { RootState } from '@/states/store';
|
|
@@ -51,7 +52,7 @@ const SelectedProtocolList: React.FC<SelectedProtocolListProps> = () => {
|
|
|
}}
|
|
|
>
|
|
|
<Flex>
|
|
|
- <img
|
|
|
+ <Image
|
|
|
alt="example"
|
|
|
src={getViewIconUrl(item.view_icon_name)}
|
|
|
style={{
|