From 74e20fb532ad9f1714bfc6dea333a1bc9f814fd6 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 28 Feb 2023 00:35:07 +0800 Subject: [PATCH] Fix scroll-to-top not working --- src/components/shortcuts-settings.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/shortcuts-settings.jsx b/src/components/shortcuts-settings.jsx index 2ddedcf1..da555ce6 100644 --- a/src/components/shortcuts-settings.jsx +++ b/src/components/shortcuts-settings.jsx @@ -82,7 +82,7 @@ const TYPE_PARAMS = { }; export const SHORTCUTS_META = { following: { - id: (_, index) => (index === 0 ? 'home' : 'following'), + id: 'home', title: (_, index) => (index === 0 ? 'Home' : 'Following'), path: '/', icon: 'home',