Browse Source

remove videos header from channel view

Klaudiusz Dembler 4 years ago
parent
commit
7207b0b9bc

+ 0 - 4
src/views/ChannelView/ChannelView.style.tsx

@@ -31,10 +31,6 @@ export const Title = styled.h1`
 export const VideoSection = styled.section`
   margin-top: -100px;
 `
-export const VideoSectionHeader = styled.h5`
-  margin: 0 0 ${theme.spacing.m};
-  font-size: ${theme.typography.sizes.h5};
-`
 
 export const StyledAvatar = styled(Avatar)`
   max-width: 136px;

+ 1 - 2
src/views/ChannelView/ChannelView.tsx

@@ -6,7 +6,7 @@ import { GET_CHANNEL } from '@/api/queries/channels'
 import { GetChannel, GetChannelVariables } from '@/api/queries/__generated__/GetChannel'
 import { VideoGrid } from '@/components'
 
-import { Header, VideoSection, VideoSectionHeader, Title, TitleSection, StyledAvatar } from './ChannelView.style'
+import { Header, StyledAvatar, Title, TitleSection, VideoSection } from './ChannelView.style'
 
 const ChannelView: React.FC<RouteComponentProps> = () => {
   const { id } = useParams()
@@ -29,7 +29,6 @@ const ChannelView: React.FC<RouteComponentProps> = () => {
       </Header>
       {videos.length > 0 && (
         <VideoSection>
-          <VideoSectionHeader>Videos</VideoSectionHeader>
           <VideoGrid videos={videos} />
         </VideoSection>
       )}