MCPcopy Create free account
hub / github.com/CommE2E/comm / useOnScreenEntryEditableThreadInfos

Function useOnScreenEntryEditableThreadInfos

lib/shared/thread-utils.js:1765–1772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1763}
1764
1765function useOnScreenEntryEditableThreadInfos(): $ReadOnlyArray<ThreadInfo> {
1766 const visibleThreadInfos = useSelector(onScreenThreadInfos);
1767 const editableVisibleThreadInfos = useThreadsWithPermission(
1768 visibleThreadInfos,
1769 threadPermissions.EDIT_ENTRIES,
1770 );
1771 return editableVisibleThreadInfos;
1772}
1773
1774function createThreadTimestamps(
1775 timestamp: number,

Callers 2

ThreadPickerModalFunction · 0.90
ThreadPickerModalFunction · 0.90

Calls 2

useSelectorFunction · 0.90
useThreadsWithPermissionFunction · 0.85

Tested by

no test coverage detected