Skip to content

Commit 698fed5

Browse files
committed
fix(ui): explain deferred history effects under current lint rule
1 parent 9b8d813 commit 698fed5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/mobile/src/features/threads/ThreadFeed.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ function RunFoldButton({
12601260
.map((workAnchorId) => loadWork({ environmentId, input: { threadId, workAnchorId } })),
12611261
);
12621262
};
1263-
// oxlint-disable-next-line t3code/react-effect-budget -- Restored expanded folds also need their server history.
1263+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- Restored expanded folds load their deferred server history on mount.
12641264
useEffect(() => {
12651265
if (entry.expanded)
12661266
void load().then((results) =>

‎apps/web/src/components/chat/MessagesTimeline.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ function TurnFoldTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "turn-
15791579
.map((workAnchorId) => loadWork({ environmentId, input: { threadId, workAnchorId } })),
15801580
);
15811581
};
1582-
// oxlint-disable-next-line t3code/react-effect-budget -- Restored expanded folds also need their server history.
1582+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- Restored expanded folds load their deferred server history on mount.
15831583
useEffect(() => {
15841584
if (row.expanded)
15851585
void load().then((results) =>

0 commit comments

Comments
 (0)