File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
epictrack-web/src/components/shared/filterSelect Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ const FilterSelect = (props: SelectProps) => {
58
58
} , [ menuIsOpen ] ) ;
59
59
60
60
const handleChange = ( newValue : any , actionMeta : any ) => {
61
- console . log ( "changing" ) ;
62
61
if ( ! isMulti ) {
63
62
if ( isOptionSelected ( newValue ) ) {
64
63
setSelectedOptions ( "" ) ;
@@ -140,11 +139,6 @@ const FilterSelect = (props: SelectProps) => {
140
139
setOptions ( filterOptions ) ;
141
140
} , [ props . options ] ) ;
142
141
143
- React . useEffect ( ( ) => {
144
- console . log ( "selectValue" , selectValue ) ;
145
- // setSelectValue(defaultValue || standardDefault);
146
- } , [ selectValue ] ) ;
147
-
148
142
return (
149
143
< Select
150
144
value = { selectValue }
@@ -233,11 +227,11 @@ const FilterSelect = (props: SelectProps) => {
233
227
fontWeight : 700 ,
234
228
} ) ,
235
229
} ) ,
236
- // menuPortal: (base, props) => ({
237
- // ...base,
238
- // zIndex: 2,
239
- // marginTop: "4px",
240
- // }),
230
+ menuPortal : ( base , props ) => ( {
231
+ ...base ,
232
+ zIndex : 2 ,
233
+ marginTop : "4px" ,
234
+ } ) ,
241
235
input : ( base , props ) => ( {
242
236
...base ,
243
237
fontWeight : "400" ,
You can’t perform that action at this time.
0 commit comments