mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 08:48:47 +01:00
Fix Trending missing from columns
This commit is contained in:
parent
d2d6e8b434
commit
4f577321b2
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ import List from '../pages/list';
|
|||
import Mentions from '../pages/mentions';
|
||||
import Notifications from '../pages/notifications';
|
||||
import Public from '../pages/public';
|
||||
import Trending from '../pages/trending';
|
||||
import states from '../utils/states';
|
||||
import useTitle from '../utils/useTitle';
|
||||
|
||||
|
@ -29,6 +30,7 @@ function Columns() {
|
|||
favourites: Favourites,
|
||||
hashtag: Hashtag,
|
||||
mentions: Mentions,
|
||||
trending: Trending,
|
||||
}[type];
|
||||
if (!Component) return null;
|
||||
return <Component {...params} />;
|
||||
|
|
Loading…
Reference in a new issue