diff --git a/package.json b/package.json index 0cbd60b..4fd94fe 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "react_test": "react-scripts test", "eject": "react-scripts eject" }, - "proxy": "http://192.168.1.70:5000", + "proxy": "http://192.168.1.58:5000", "eslintConfig": { "extends": [ "react-app", diff --git a/src/components/SmboPlate.jsx b/src/components/SmboPlate.jsx index 89643ae..ade2ec7 100644 --- a/src/components/SmboPlate.jsx +++ b/src/components/SmboPlate.jsx @@ -40,7 +40,7 @@ export default function SmboPlate({title, state, operatingTime, units, children,
{title}
-
наработка: {captionValue}
+
{captionValue??'наработка'} :
{operatingTime}
{units??'ч'}
diff --git a/src/pages/Smbo.jsx b/src/pages/Smbo.jsx index e6c91f3..120bd3e 100644 --- a/src/pages/Smbo.jsx +++ b/src/pages/Smbo.jsx @@ -28,7 +28,7 @@ const platesData = [ {label: 'Состояние ПЧ1', value: 1, unit: ''}, {label: 'Состояние ПЧ2', value: 1, unit: ''}, ], - captionValue: 'У-У-У-у-у-у', + //captionValue: 'У-У-У-у-у-у', custom: 'Я не понял про это', className: 'c1 r1' },