Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Patrik Meijer
react-components
Commits
9832a72a
Commit
9832a72a
authored
Nov 08, 2018
by
Patrik Meijer
Browse files
FIX issue with imageUrl in ProjectSeedCard adding leading /
parent
1a1876c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/ProjectSeedCards/ProjectSeedCards.jsx
View file @
9832a72a
...
...
@@ -73,7 +73,7 @@ export default class ProjectSeedCards extends Component {
<
Card
>
<
CardMedia
style
=
{
this
.
props
.
mediaStyle
}
image
=
{
`/
${
seedInfo
.
imageUrl
}
`
}
image
=
{
seedInfo
.
imageUrl
}
title
=
{
seedInfo
.
title
}
/>
<
CardContent
style
=
{
this
.
props
.
contentStyle
}
>
...
...
src/components/ProjectSeedCards/demo.jsx
View file @
9832a72a
...
...
@@ -10,7 +10,7 @@ export default class DemoProjectSeedCards extends Component {
return
{
title
:
title
,
description
:
'
In these examples the description is short so content height is low
'
,
imageUrl
:
'
seed.png
'
,
imageUrl
:
'
/
seed.png
'
,
createData
:
{
seed
:
title
,
desc
:
'
Any data passed here will be returned..
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment