[Glitch] Port upstream changes about trending links

This commit is contained in:
Jeong Arm
2021-11-26 15:01:04 +09:00
committed by Claire
parent 025a2ceb0f
commit 97151840b0
5 changed files with 33 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ export default class Trends extends React.PureComponent {
componentDidMount () {
const { limit } = this.props;
api().get('/api/v1/admin/trends', { params: { limit } }).then(res => {
api().get('/api/v1/admin/trends/tags', { params: { limit } }).then(res => {
this.setState({
loading: false,
data: res.data,