Skip to content

Commit ac2307b

Browse files
authored
🕳️ fix: Clear Nullable Queue Anchor (#15794)
1 parent 65bb64b commit ac2307b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/hooks/Chat/useChatFunctions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ export default function useChatFunctions({
647647
model: convo?.model,
648648
error: false,
649649
iconURL,
650-
clientQueueParentMessageId: regenerateShaped ? messageId : intermediateId,
650+
clientQueueParentMessageId: regenerateShaped ? (messageId ?? undefined) : intermediateId,
651651
/**
652652
* Seed the assistant placeholder with the turn's manually-invoked
653653
* skill names so `ContentParts` can render interim `SkillCall` cards

0 commit comments

Comments
 (0)