Skip to content

Commit

Permalink
leading slashes adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Oct 29, 2023
1 parent 9b6bf06 commit 29e764a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/home/MaterialDesignDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { withPointer } from 'docs/src/components/home/ElementPointer';

export const componentCode = `<Card>
<Box sx={{ p: 2, display: 'flex' }}>
<Avatar variant="rounded" src="avatar1.jpg" />
<Avatar variant="rounded" src="avatar.jpg" />
<Stack spacing={0.5}>
<Typography fontWeight="bold">Lucas Smith</Typography>
<Typography variant="body2" color="text.secondary">
Expand Down Expand Up @@ -64,7 +64,7 @@ export default function MaterialDesignDemo(props: CardProps) {
<Box sx={{ p: 2, display: 'flex' }}>
<Avatar
variant="rounded"
src="static/images/avatar/2.jpg"
src="/static/images/avatar/2.jpg"
imgProps={{ 'aria-labelledby': 'demo-task-card-assignee-name' }}
/>
<Stack
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/showcase/TaskCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function TaskCard() {
>
<Avatar
imgProps={{ 'aria-labelledby': 'demo-task-card-assignee-name' }}
src="static/images/avatar/2.jpg"
src="/static/images/avatar/2.jpg"
/>
</Box>
<div>
Expand Down

0 comments on commit 29e764a

Please sign in to comment.