Page MenuHomePhabricator

D3386.id10290.diff
No OneTemporary

D3386.id10290.diff

diff --git a/web/app.react.js b/web/app.react.js
--- a/web/app.react.js
+++ b/web/app.react.js
@@ -17,10 +17,7 @@
createLoadingStatusSelector,
combineLoadingStatuses,
} from 'lib/selectors/loading-selectors';
-import {
- mostRecentReadThreadSelector,
- unreadCount,
-} from 'lib/selectors/thread-selectors';
+import { unreadCount } from 'lib/selectors/thread-selectors';
import { isLoggedIn } from 'lib/selectors/user-selectors';
import type { LoadingStatus } from 'lib/types/loading-types';
import type { Dispatch } from 'lib/types/redux-types';
@@ -77,7 +74,6 @@
+navInfo: NavInfo,
+entriesLoadingStatus: LoadingStatus,
+loggedIn: boolean,
- +mostRecentReadThread: ?string,
+activeThreadCurrentlyUnread: boolean,
// Redux dispatch functions
+dispatch: Dispatch,
@@ -204,7 +200,6 @@
);
const loggedIn = useSelector(isLoggedIn);
- const mostRecentReadThread = useSelector(mostRecentReadThreadSelector);
const activeThreadCurrentlyUnread = useSelector(
state =>
!activeChatThreadID ||
@@ -225,7 +220,6 @@
navInfo={navInfo}
entriesLoadingStatus={entriesLoadingStatus}
loggedIn={loggedIn}
- mostRecentReadThread={mostRecentReadThread}
activeThreadCurrentlyUnread={activeThreadCurrentlyUnread}
dispatch={dispatch}
modal={modalContext.modal}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 10:20 PM (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2532093
Default Alt Text
D3386.id10290.diff (1 KB)

Event Timeline