From a08b44cff1ddbb448e7c44f26347311c7b0b8692 Mon Sep 17 00:00:00 2001 From: Sergey Sova Date: Sat, 27 Oct 2018 21:25:22 +0300 Subject: [PATCH] feat(features/common): remove unnssesary links from header. enable theme switcher --- src/features/common/organisms/header.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/features/common/organisms/header.js b/src/features/common/organisms/header.js index c84dd85..c1d7362 100644 --- a/src/features/common/organisms/header.js +++ b/src/features/common/organisms/header.js @@ -3,7 +3,7 @@ import React from 'react' import styled from 'styled-components' import { Link } from 'react-router-dom' -// import { ToggleThemeConsumer } from 'lib/theme-context' +import { ToggleThemeConsumer } from 'lib/theme-context' import { Container } from 'ui/templates' import { WithAccount } from './with-account' @@ -86,11 +86,11 @@ export const Header = () => ( ( - + Create + + New )} /> - Feed - Contribute + {/* Feed */} + {/* Contribute */} ( @@ -102,11 +102,11 @@ export const Header = () => ( Join )} /> - {/* + {({ toggleDark, dark }) => ( {dark ? '🌔' : '☀️'} )} - */} + )