Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32074835
D13921.1765000995.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D13921.1765000995.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, Dec 6, 6:03 AM (6 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5832937
Default Alt Text
D13921.1765000995.diff (1 KB)
Attached To
Mode
D13921: [lib] Move sidebarInfoSelector to different folder
Attached
Detach File
Event Timeline
Log In to Comment