Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3347560
D13921.id45780.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
D13921.id45780.diff
View Options
diff --git a/lib/hooks/search-threads.js b/lib/hooks/search-threads.js
--- a/lib/hooks/search-threads.js
+++ b/lib/hooks/search-threads.js
@@ -2,12 +2,12 @@
import * as React from 'react';
+import { sidebarInfoSelector } from '../hooks/sidebar-hooks.js';
import {
type ChatThreadItem,
useFilteredChatListData,
} from '../selectors/chat-selectors.js';
import { useThreadSearchIndex } from '../selectors/nav-selectors.js';
-import { sidebarInfoSelector } from '../selectors/sidebar-selectors.js';
import { threadIsChannel } from '../shared/thread-utils.js';
import type { SetState } from '../types/hook-types.js';
import type {
diff --git a/lib/selectors/sidebar-selectors.js b/lib/hooks/sidebar-hooks.js
rename from lib/selectors/sidebar-selectors.js
rename to lib/hooks/sidebar-hooks.js
--- a/lib/selectors/sidebar-selectors.js
+++ b/lib/hooks/sidebar-hooks.js
@@ -3,7 +3,7 @@
import _orderBy from 'lodash/fp/orderBy.js';
import { createObjectSelector } from 'reselect-map';
-import { childThreadInfos } from './thread-selectors.js';
+import { childThreadInfos } from '../selectors/thread-selectors.js';
import { getMostRecentNonLocalMessageID } from '../shared/message-utils.js';
import { threadInChatList } from '../shared/thread-utils.js';
import type { MessageStore, RawMessageInfo } from '../types/message-types.js';
diff --git a/lib/selectors/chat-selectors.js b/lib/selectors/chat-selectors.js
--- a/lib/selectors/chat-selectors.js
+++ b/lib/selectors/chat-selectors.js
@@ -13,7 +13,7 @@
threadInfoFromSourceMessageIDSelector,
threadInfoSelector,
} from './thread-selectors.js';
-import { sidebarInfoSelector } from '../selectors/sidebar-selectors.js';
+import { sidebarInfoSelector } from '../hooks/sidebar-hooks.js';
import {
createMessageInfo,
getMostRecentNonLocalMessageID,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 12:36 PM (18 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570637
Default Alt Text
D13921.id45780.diff (1 KB)
Attached To
Mode
D13921: [lib] Move sidebarInfoSelector to different folder
Attached
Detach File
Event Timeline
Log In to Comment