File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
packages/homepage/src/screens/home/Frameworks Expand file tree Collapse file tree 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 {
266266 < Pane width = { 1280 } >
267267 < Flex >
268268 < 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+ } ) }
281285 </ Icons >
282286
283287 < Intro style = { { marginRight : '2rem' } } >
You can’t perform that action at this time.
0 commit comments