Skip to content

Commit 90acf84

Browse files
authored
Update MainContainer.jsx
1 parent 0ec783a commit 90acf84

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/app/containers/MainContainer.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ function MainContainer() {
2727
const { action, payload } = message;
2828
switch (action) {
2929
case 'deleteTab': {
30-
console.log('maincontainer', action, payload);
3130
dispatch(deleteTab(payload));
32-
33-
// if (payload === currentTab) dispatch(setTab(Object.keys(tabs)[0]));
34-
3531
break;
3632
}
3733

@@ -59,9 +55,6 @@ function MainContainer() {
5955
});
6056

6157
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);
6558
const { viewIndex, sliderIndex, snapshots } = tabs[currentTab];
6659

6760
// if viewIndex is -1, then use the sliderIndex instead

0 commit comments

Comments
 (0)