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:
parent
08a0642687
commit
f7b05c39f9
@ -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 }}>
|
||||
|
Loading…
Reference in New Issue
Block a user