File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,7 @@ function MainContainer() {
27
27
const { action, payload } = message ;
28
28
switch ( action ) {
29
29
case 'deleteTab' : {
30
- console . log ( 'maincontainer' , action , payload ) ;
31
30
dispatch ( deleteTab ( payload ) ) ;
32
-
33
- // if (payload === currentTab) dispatch(setTab(Object.keys(tabs)[0]));
34
-
35
31
break ;
36
32
}
37
33
@@ -59,9 +55,6 @@ function MainContainer() {
59
55
} ) ;
60
56
61
57
if ( ! npmExists ) return < div style = { { color : 'black' } } > Please install our npm package in your app</ div > ;
62
- // if (!tabs[currentTab]) return <div style={{ color: 'black' }}>Please select another tab</div>;
63
- console . log ( 'maincontainer => tabs' , tabs ) ;
64
- console . log ( 'maincontainer => currentTab' , currentTab ) ;
65
58
const { viewIndex, sliderIndex, snapshots } = tabs [ currentTab ] ;
66
59
67
60
// if viewIndex is -1, then use the sliderIndex instead
You can’t perform that action at this time.
0 commit comments