Skip to content

Commit d220daa

Browse files
author
Ives van Hoorne
committed
Fixes
1 parent a0ceace commit d220daa

File tree

252 files changed

+1691
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+1691
-36
lines changed

packages/app/config/webpack.common.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -217,17 +217,6 @@ module.exports = {
217217
],
218218
},
219219

220-
externals: SANDBOX_ONLY
221-
? [
222-
'react',
223-
'react-dom',
224-
'styled-components',
225-
'html-entities',
226-
'react-tippy',
227-
'color-convert',
228-
]
229-
: [],
230-
231220
resolve: {
232221
mainFields: ['browser', 'module', 'jsnext:main', 'main'],
233222
modules: ['node_modules', 'src', 'standalone-packages'],

packages/app/src/app/components/SandboxList/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import moment from 'moment';
33
import { Link } from 'react-router-dom';
44
import { sandboxUrl } from 'common/utils/url-generator';
55
import getDefinition from 'common/templates';
6+
import getIcon from 'common/templates/icons';
67
import { SmallSandbox } from 'common/types';
78

89
import FullHeartIcon from 'react-icons/lib/fa/heart';
@@ -49,7 +50,7 @@ export default ({ sandboxes, isCurrentUser, onDelete }: Props) => (
4950
</thead>
5051
<Body>
5152
{sandboxes.map((s, i) => {
52-
const Icon = getDefinition(s.template).Icon || getDefinition().Icon;
53+
const Icon = getIcon(s.template.name);
5354
return (
5455
<SandboxRow index={i} key={s.id}>
5556
<td>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/concat'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/copy-within'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/entries'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/every'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/fill'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/filter'),
3+
__esModule: true,
4+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
default: require('core-js/library/fn/array/find-index'),
3+
__esModule: true,
4+
};

0 commit comments

Comments
 (0)