Skip to content

Commit 8a58461

Browse files
committed
fix(web): let a pending draft error replace a stale promoted-thread error
Signed-off-by: Yordis Prieto <[email protected]>
1 parent a64789e commit 8a58461

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ function ChatViewContent(props: ChatViewProps) {
13271327
return next;
13281328
});
13291329
setLocalServerErrorsByThreadKey((existing) => {
1330-
if ((existing[routeThreadKey] ?? null) !== null) {
1330+
if ((existing[routeThreadKey] ?? null) === pendingDraftError) {
13311331
return existing;
13321332
}
13331333
return {

0 commit comments

Comments
 (0)