Skip to content

Commit

Permalink
feat: remove search button from header (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonChong96 authored Jul 20, 2020
1 parent 25ddc14 commit 9bbafb5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/client/components/BaseLayout/BaseLayoutHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ import helpIcon from '../../assets/help-icon.svg'
import feedbackIcon from './assets/feedback-icon.svg'
import githubIcon from './assets/github-icon.svg'
import signinIcon from './assets/signin-icon.svg'
import { SEARCH_PAGE } from '../../util/types'
import SearchIcon from '../widgets/SearchIcon'
import { IS_SEARCH_HIDDEN } from '../../util/config'

const useStyles = makeStyles((theme) =>
createStyles({
Expand Down Expand Up @@ -104,14 +101,6 @@ const BaseLayoutHeader = ({ backgroundType, isLoggedIn, logout, hideAuth }) => {
const classes = useStyles({ isLoggedIn, isLightItems })

const headers = [
{
text: 'GoSearch',
link: SEARCH_PAGE,
internalLink: true,
public: true,
component: <SearchIcon size={24} />,
hidden: IS_SEARCH_HIDDEN,
},
{
text: 'Contribute',
link: i18next.t('general.links.contribute'),
Expand Down

0 comments on commit 9bbafb5

Please sign in to comment.