// @flow import * as React from 'react'; import type { GetThreadType } from 'shared/graphql/queries/thread/getThread'; import ThreadHeader from './threadHeader'; import UserProfileThreadHeader from './userProfileThreadHeader'; export type HeaderProps = { thread: GetThreadType, active: boolean, currentUser: ?Object, viewContext?: | ?'inbox' | 'communityInbox' | 'communityProfile' | 'channelInbox' | 'channelProfile' | 'userProfile' | 'userProfileReplies', }; class Header extends React.Component { render() { if ( this.props.viewContext === 'userProfile' || this.props.viewContext === 'userProfileReplies' ) { return ; } return ; } } export default Header;