Fix scroll-to-top not working

This commit is contained in:
Lim Chee Aun 2023-02-28 00:35:07 +08:00
parent 624f7930ad
commit 74e20fb532

View file

@ -82,7 +82,7 @@ const TYPE_PARAMS = {
}; };
export const SHORTCUTS_META = { export const SHORTCUTS_META = {
following: { following: {
id: (_, index) => (index === 0 ? 'home' : 'following'), id: 'home',
title: (_, index) => (index === 0 ? 'Home' : 'Following'), title: (_, index) => (index === 0 ? 'Home' : 'Following'),
path: '/', path: '/',
icon: 'home', icon: 'home',