diff --git a/lib/shared/ancestor-threads.js b/lib/shared/ancestor-threads.js --- a/lib/shared/ancestor-threads.js +++ b/lib/shared/ancestor-threads.js @@ -9,6 +9,7 @@ } from '../selectors/thread-selectors.js'; import { threadIsPending } from '../shared/thread-utils.js'; import type { ThreadInfo } from '../types/minimally-encoded-thread-permissions-types.js'; +import { threadTypeIsThick } from '../types/thread-types-enum.js'; import { useSelector } from '../utils/redux-utils.js'; function useAncestorThreads( @@ -26,8 +27,10 @@ ? ancestorThreads.slice(0, -1) : ancestorThreads; } - return genesisThreadInfo ? [genesisThreadInfo] : []; - }, [ancestorThreads, genesisThreadInfo, threadInfo.id]); + return genesisThreadInfo && !threadTypeIsThick(threadInfo.type) + ? [genesisThreadInfo] + : []; + }, [ancestorThreads, genesisThreadInfo, threadInfo.id, threadInfo.type]); } export { useAncestorThreads };