From e95954a7fd016e9f783580078e6fab2a039843fb Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 2 Feb 2023 17:29:57 +0800 Subject: [PATCH] Begin work on account-specific store 1. Move boostsCarousel setting to account-specific, sadly no migration from previous setting 2. Cache last notification to prevent keep getting unread notification badge --- src/app.jsx | 8 +++++--- src/main.jsx | 7 +++++-- src/pages/notifications.jsx | 2 +- src/utils/states.js | 23 ++++++++++++----------- src/utils/store.js | 36 +++++++++++++++++++++++++++++++++++- 5 files changed, 58 insertions(+), 18 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index f69c1964..92408411 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -214,7 +214,7 @@ function App() { {/* } /> */} - {isLoggedIn && } />} + } />