summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js')
-rw-r--r--opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js b/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js
index 921622d6..8897f2d0 100644
--- a/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js
+++ b/opendc-web/opendc-web-ui/src/components/topologies/sidebar/rack/MachineComponent.js
@@ -1,14 +1,13 @@
import PropTypes from 'prop-types'
import React from 'react'
-import Image from 'next/image'
import { Flex, Label } from '@patternfly/react-core'
import { Machine } from '../../../../shapes'
const UnitIcon = ({ id, type }) => (
- <Image
+ // eslint-disable-next-line @next/next/no-img-element
+ <img
src={'/img/topology/' + id + '-icon.png'}
alt={'Machine contains ' + type + ' units'}
- layout="intrinsic"
height={24}
width={24}
/>