Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3296574
D3386.id10290.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3386.id10290.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 1:46 AM (18 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2532093
Default Alt Text
D3386.id10290.diff (1 KB)
Attached To
Mode
D3386: [web] Remove unused mostRecentReadThread prop from App
Attached
Detach File
Event Timeline
Log In to Comment