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

fix: demo userId screenshot path (#3761)

Fixes an issue where the userId screenshot did not load correctly.
This commit is contained in:
Nuno Góis 2023-05-12 15:34:59 +01:00 committed by GitHub
parent 08a0642687
commit f7b05c39f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
import { Badge } from 'component/common/Badge/Badge';
import { Step } from 'react-joyride';
import { gradualRollout, variants } from './demo-setup';
import { basePath } from 'utils/formatPath';
import { basePath, formatAssetPath } from 'utils/formatPath';
import userIdImage from 'assets/img/userId-image.png';
export interface ITutorialTopicStep extends Step {
@ -226,7 +226,7 @@ export const TOPICS: ITutorialTopic[] = [
You can find your userId on the demo page.
</Badge>
<StyledImg
src={userIdImage}
src={formatAssetPath(userIdImage)}
alt="You can find your userId on the demo page."
/>
<Description sx={{ mt: 1 }}>
@ -577,7 +577,7 @@ export const TOPICS: ITutorialTopic[] = [
You can find your userId on the demo page.
</Badge>
<StyledImg
src={userIdImage}
src={formatAssetPath(userIdImage)}
alt="You can find your userId on the demo page."
/>
<Description sx={{ mt: 1 }}>