refactor(web,mobile): drop code left dead by hiding subagent threads
Removing the "Open subagent thread" affordance left the mobile work log subscribing to item support it no longer reads, and the web sidebar importing a predicate it no longer calls. Both tripped the lint rule the CI Check job enforces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
1 parent
7ac23a7523
commit
67022de4a2
1 file changed
-6
@@ -12,7 +12,6 @@ import { cn } from "../../lib/cn";
|
||||
import type { ThreadFeedActivity } from "../../lib/threadActivity";
|
||||
import { MOBILE_TYPOGRAPHY } from "../../lib/typography";
|
||||
import Animated, { FadeIn } from "react-native-reanimated";
|
||||
import { useV2ItemSupport } from "../../state/v2-item-support";
|
||||
import { ThreadActivityInspector } from "./ThreadActivityInspector";
|
||||
import { threadWorkLogOverflowNoun } from "./thread-work-log-labels";
|
||||
|
||||
@@ -115,11 +114,6 @@ function ThreadActivityThreadLink(props: {
|
||||
readonly iconColor: import("react-native").ColorValue;
|
||||
}) {
|
||||
const row = props.activity.projectedItem;
|
||||
const support = useV2ItemSupport({
|
||||
environmentId: props.environmentId,
|
||||
sourceThreadId: row.sourceThreadId,
|
||||
sourceItemId: row.sourceItemId,
|
||||
});
|
||||
const navigation = useNavigation();
|
||||
const item = row.item;
|
||||
let targetThreadId: ThreadId | null = null;
|
||||
|
||||
Reference in new issue
Block a user