Skip to content

Commit 365bbba

Browse files
committed
small fixes
1 parent 17e7bb0 commit 365bbba

File tree

1 file changed

+9
-2
lines changed
  • packages/app/src/app/pages/Dashboard/Content/CreateNewSandbox/Modal/Components

1 file changed

+9
-2
lines changed

packages/app/src/app/pages/Dashboard/Content/CreateNewSandbox/Modal/Components/MyTemplates.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ export default () => {
2626
>
2727
<img
2828
height="109px"
29-
src={template.sandbox.screenshotUrl}
29+
src={
30+
template.sandbox.screenshotUrl ||
31+
'https://codesandbox.io/static/img/banner.png'
32+
}
3033
alt={template.title}
3134
/>
3235
<Border color={template.color} />
@@ -39,7 +42,11 @@ export default () => {
3942
})
4043
: new Array(3).fill({}).map(() => (
4144
<MyTemplate>
42-
<img height="109px" alt="loading" />
45+
<img
46+
height="109px"
47+
alt="loading"
48+
src="https://codesandbox.io/static/img/banner.png"
49+
/>
4350
<Border />
4451
<div>
4552
<TemplateTitle>Loading</TemplateTitle>

0 commit comments

Comments
 (0)