decord/source/modules/message_request/hooks/useMessageRequestsCount.tsx

19 lines
658 B
TypeScript
Raw Normal View History

// Module ID: 17094
// Function ID: 17095
2026-07-20 16:05:17 +00:00
// Name: useMessageRequestsCount
// Dependencies: [7329, 504, 2]
2026-07-20 16:05:17 +00:00
// Exports: useMessageRequestsCount
// Module 17094 (useMessageRequestsCount)
import initialize from "initialize" /* 504 */;
import MessageRequestStore from "MessageRequestStore" /* 7329 */;
2026-07-23 10:11:24 +00:00
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/message_request/hooks/useMessageRequestsCount.tsx");
2026-07-20 16:05:17 +00:00
export const useMessageRequestsCount = function useMessageRequestsCount() {
const items = [MessageRequestStore];
2026-08-24 06:08:38 +00:00
return initialize.useStateFromStores(items, () => messageRequestsCount.getMessageRequestsCount());
2026-07-20 16:05:17 +00:00
};