1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-08 01:15:49 +02:00

fix: onboarding img asset path (#8213)

This commit is contained in:
Mateusz Kwasniewski 2024-09-23 12:28:38 +02:00 committed by GitHub
parent 553e04994e
commit f45b7a07b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@ import { ReactComponent as UnleashLogoWhite } from 'assets/img/logoWithWhiteText
import { ThemeMode } from '../common/ThemeMode/ThemeMode';
import onboardingConcepts from 'assets/img/onboardingConcepts.png';
import { ScreenReaderOnly } from '../common/ScreenReaderOnly/ScreenReaderOnly';
import { formatAssetPath } from 'utils/formatPath';
const StyledDialog = styled(Dialog)(({ theme }) => ({
'& .MuiDialog-paper': {
@ -69,7 +70,7 @@ export const WelcomeDialog: FC<IWelcomeDialogProps> = ({ open, onClose }) => {
</Typography>{' '}
in order to work effectively with Unleash
</Box>
<StyledImg src={onboardingConcepts} />
<StyledImg src={formatAssetPath(onboardingConcepts)} />
<ScreenReaderOnly>
<h2>Environments</h2>
<p>