Repair path svg
This commit is contained in:
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/air_dryer_A_rev.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/air_dryer_A_rev.svg';
|
||||
// const filePathSvg = '/src/assets/svg/air_dryer_A_rev.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgAirDryerA = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/air_dryer_B_rev.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/air_dryer_B_rev.svg';
|
||||
// const filePathSvg = '/src/assets/svg/air_dryer_B_rev.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgAirDryerB = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/air_dryer_C_rev.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/air_dryer_C_rev.svg';
|
||||
// const filePathSvg = '/src/assets/svg/air_dryer_C_rev.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgAirDryerC = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgCompressorA = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgCompressorB = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgCompressorC = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import SvgTemplate from './SvgTemplate';
|
||||
import SvgViewer from './SvgViewer';
|
||||
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgOverview = () => {
|
||||
|
||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
||||
// import { ReactSVG } from 'react-svg';
|
||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||
import { ReactSVG } from 'react-svg';
|
||||
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||
|
||||
const { Text } = Typography;
|
||||
|
||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||
|
||||
const SvgTest = () => {
|
||||
|
||||
Reference in New Issue
Block a user