Skip to content

Commit

Permalink
Update src/pages/HotTopic/index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Dearkano committed Nov 16, 2018
1 parent 4cdb346 commit c5060bc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/pages/HotTopic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import React, { useState, useEffect } from 'react'
import { navigate } from '@reach/router'
import { css } from 'emotion'

import { List, ListItem, ListItemText, ListItemIcon, Divider, Tab, Tabs } from '@material-ui/core'
import Whatshot from '@material-ui/icons/Whatshot'
import { List, Tab, Tabs } from '@material-ui/core'

import LoadingCircle from '@/components/LoadingCircle'
import HotTopicItem from './HotTopicItem'
Expand Down Expand Up @@ -93,13 +92,6 @@ export default () => {
</Tabs>

<List className={hotTopicList}>
<ListItem>
<ListItemIcon>
<Whatshot />
</ListItemIcon>
<ListItemText primary="热门话题" />
</ListItem>
<Divider />
{topics.map(info => (
<HotTopicItem key={info.id} info={info} click={() => navigate(`/topic/${info.id}`)} />
))}
Expand Down

0 comments on commit c5060bc

Please sign in to comment.