File tree 1 file changed +16
-12
lines changed
packages/homepage/src/screens/home/Frameworks 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -266,18 +266,22 @@ export default class Frameworks extends React.Component {
266
266
< Pane width = { 1280 } >
267
267
< Flex >
268
268
< Icons >
269
- { templates . map ( ( { Icon } , i ) => (
270
- < IconContainer
271
- key = { i }
272
- selected = { templates [ i ] === template }
273
- template = { templates [ i ] }
274
- onClick = { ( ) => {
275
- this . setTemplate ( templates [ i ] ) ;
276
- } }
277
- >
278
- < Icon width = { 80 } height = { 80 } />
279
- </ IconContainer >
280
- ) ) }
269
+ { templates . map ( ( { name } , i ) => {
270
+ const TIcon = getIcon ( name ) ;
271
+
272
+ return (
273
+ < IconContainer
274
+ key = { i }
275
+ selected = { templates [ i ] === template }
276
+ template = { templates [ i ] }
277
+ onClick = { ( ) => {
278
+ this . setTemplate ( templates [ i ] ) ;
279
+ } }
280
+ >
281
+ < TIcon width = { 80 } height = { 80 } />
282
+ </ IconContainer >
283
+ ) ;
284
+ } ) }
281
285
</ Icons >
282
286
283
287
< Intro style = { { marginRight : '2rem' } } >
You can’t perform that action at this time.
0 commit comments