From 39fbfbeecc3f04d3e0b07e9c4b875db4309c78cd Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Mon, 20 Jan 2025 14:18:31 +0100 Subject: [PATCH] fix: resolve lifecycle image from asset path --- .../MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx b/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx index fb9774a2d5e0..f8ce67e0da33 100644 --- a/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx +++ b/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx @@ -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: , preview: ( ),