We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3d219 commit 143f39eCopy full SHA for 143f39e
src/app/containers/HeadContainer.jsx
@@ -6,10 +6,7 @@ import { useStoreContext } from '../store';
6
function HeadContainer() {
7
const [store] = useStoreContext();
8
const { tabs, currentTab } = store;
9
- // eslint-disable-next-line prefer-destructuring
10
- const title = tabs[currentTab].title;
11
- // console.log('tabs', tabs);
12
- // console.log('currentTab', currentTab);
+ const { title } = tabs[currentTab];
13
return (
14
<div className="head-container">
15
<SwitchAppDropdown />
0 commit comments