Skip to content

Commit efb7861

Browse files
committed
undo indent
1 parent aa4496c commit efb7861

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/views/EncodingShelfCard.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -565,19 +565,19 @@ export const EncodingShelfCard: FC<EncodingShelfCardProps> = function ({ chartId
565565
)
566566
}}
567567
onChange={(event) => { handleUpdateChartType(event.target.value) }}>
568-
{Object.entries(CHART_TEMPLATES).map(([group, templates]) => {
569-
return [
570-
<ListSubheader sx={{ color: "text.secondary", lineHeight: 2, fontSize: 12 }} key={group}>{group}</ListSubheader>,
571-
...templates.map((t, i) => (
572-
<MenuItem sx={{ fontSize: 12, paddingLeft: 3, paddingRight: 3 }} value={t.chart} key={`${group}-${i}`}>
573-
<ListItemIcon>
574-
{typeof t?.icon == 'string' ? <img height="24px" width="24px" src={t?.icon} alt="" role="presentation" /> : t?.icon}
575-
</ListItemIcon>
576-
<ListItemText primaryTypographyProps={{fontSize: '12px'}}>{t.chart}</ListItemText>
577-
</MenuItem>
578-
))
579-
]
580-
})}
568+
{Object.entries(CHART_TEMPLATES).map(([group, templates]) => {
569+
return [
570+
<ListSubheader sx={{ color: "text.secondary", lineHeight: 2, fontSize: 12 }} key={group}>{group}</ListSubheader>,
571+
...templates.map((t, i) => (
572+
<MenuItem sx={{ fontSize: 12, paddingLeft: 3, paddingRight: 3 }} value={t.chart} key={`${group}-${i}`}>
573+
<ListItemIcon>
574+
{typeof t?.icon == 'string' ? <img height="24px" width="24px" src={t?.icon} alt="" role="presentation" /> : t?.icon}
575+
</ListItemIcon>
576+
<ListItemText primaryTypographyProps={{fontSize: '12px'}}>{t.chart}</ListItemText>
577+
</MenuItem>
578+
))
579+
]
580+
})}
581581
</Select>
582582
</FormControl>
583583
</Box>

0 commit comments

Comments
 (0)