Skip to content

Commit

Permalink
change Colorful to Violet on select
Browse files Browse the repository at this point in the history
  • Loading branch information
001elijah committed Jun 26, 2023
1 parent 274cd6b commit 8d970c3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ export const Header = () => {
setShowSidebar(prev => !prev);
};

// const openSidebar = () => {
// setShowSidebar(true);
// const sidebar = document.querySelector('#sidebar');
// sidebar.classList.add(sidebarStyles.visible);
// };

const theme = useSelector(selectorTheme);
const dispatch = useDispatch();

Expand Down Expand Up @@ -67,7 +61,7 @@ export const Header = () => {
className={clsx(s.dropDownItem, s[theme])}
onClick={() => changeTheme('colorful')}
>
Colorful
Violet
</div>
</div>
</div>
Expand Down

0 comments on commit 8d970c3

Please sign in to comment.