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

19 lines
658 B
TypeScript
Raw Normal View History

// Module ID: 16999
// Function ID: 17000
2026-07-20 16:05:17 +00:00
// Name: useMessageRequestsCount
// Dependencies: [7322, 504, 2]
2026-07-20 16:05:17 +00:00
// Exports: useMessageRequestsCount
// Module 16999 (useMessageRequestsCount)
import initialize from "initialize" /* 504 */;
import MessageRequestStore from "MessageRequestStore" /* 7322 */;
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
};