File tree Expand file tree Collapse file tree 1 file changed +17
-19
lines changed
site/src/pages/TemplatePage/TemplateInsightsPage Expand file tree Collapse file tree 1 file changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -54,25 +54,23 @@ export const WeeklyPresetsMenu = ({
54
54
horizontal : "left" ,
55
55
} }
56
56
>
57
- { weeklyPresets . map ( ( numberOfWeeks ) => {
58
- return (
59
- < MenuItem
60
- css = { { fontSize : 14 , justifyContent : "space-between" } }
61
- key = { numberOfWeeks }
62
- onClick = { ( ) => {
63
- onChange ( numberOfWeeks ) ;
64
- handleClose ( ) ;
65
- } }
66
- >
67
- Last { numberOfWeeks } weeks
68
- < Box css = { { width : 16 , height : 16 } } >
69
- { value === numberOfWeeks && (
70
- < CheckOutlined css = { { width : 16 , height : 16 } } />
71
- ) }
72
- </ Box >
73
- </ MenuItem >
74
- ) ;
75
- } ) }
57
+ { weeklyPresets . map ( ( numberOfWeeks ) => (
58
+ < MenuItem
59
+ css = { { fontSize : 14 , justifyContent : "space-between" } }
60
+ key = { numberOfWeeks }
61
+ onClick = { ( ) => {
62
+ onChange ( numberOfWeeks ) ;
63
+ handleClose ( ) ;
64
+ } }
65
+ >
66
+ Last { numberOfWeeks } weeks
67
+ < Box css = { { width : 16 , height : 16 } } >
68
+ { value === numberOfWeeks && (
69
+ < CheckOutlined css = { { width : 16 , height : 16 } } />
70
+ ) }
71
+ </ Box >
72
+ </ MenuItem >
73
+ ) ) }
76
74
</ Menu >
77
75
</ div >
78
76
) ;
You can’t perform that action at this time.
0 commit comments