1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

fix: resolve lifecycle image from asset path (#9121)

This commit is contained in:
Tymoteusz Czech 2025-01-20 14:23:55 +01:00 committed by GitHub
parent 666b5b7000
commit 874aeacca1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,7 @@ import LinearScaleIcon from '@mui/icons-material/LinearScale';
import MonitorHeartIcon from '@mui/icons-material/MonitorHeartOutlined';
import { useNavigate } from 'react-router-dom';
import { useHighlightContext } from 'component/common/Highlight/HighlightContext';
import { formatAssetPath } from 'utils/formatPath';
const StyledNewInUnleash = styled('div')(({ theme }) => ({
margin: theme.spacing(2, 0, 1, 0),
@ -109,7 +110,7 @@ export const NewInUnleash = ({
icon: <MonitorHeartIcon color='primary' />,
preview: (
<StyledImg
src={LifecycleStagesImage}
src={formatAssetPath(LifecycleStagesImage)}
alt='Define → Develop → Production → Cleanup → Archived'
/>
),